Posts

Develop batch job through SysOperationServiceBase class

 Friends,                      Microsoft Dynamics D365 finance and operations have a strong batch job functionality that runs on periodic time as per user requirements. I have created one batch job that will export invent table data from the system to an excel file. Go through the given steps and get this functionality. Step 1 :  Create Contract Class  SPInventTableDataContractBatch [DataContractAttribute] class SPInventTableDataContractBatch {     ItemType          itemType; } Step 2 :  Add  parmItemType()  method to  SPInventTableDataContractBatch  class and write this               logic, [DataMemberAttribute] public ItemType parmItemType(ItemType  _itemType = itemType) {     itemType  = _itemType;     return itemType; } Step 3 :  Create ServiceClass  SPInventTableBatchService class SPInventTableBatchService extends SysOperationServiceBase { } Step 4 :  Add processData() method to SP InventTableBatchService  class and write this                     logic, [SysEntryPointAttribute(tru
Recent posts