Monday, September 11, 2017

Creating New Batch Job in Dynamics 365 for finance and operations

//Creating Batch Job in Dynamics 365 for finance and operations

//Create new project
//Create new class
Class Code:
class SSBatchTest extends RunBaseBatch
{
    [SysEntryPointAttribute(false)]
    public void processRecords()
    {
         //To do: Business logic
    }
}

//Before make sure all requires setup has been setup properly for batch processing like batch server, group

//Create Action menu type - property to be set:

Type - Class
Object - SysOperationServiceController
EnumTypeParameter - SysOperationExecutionMode
EnumParameter - Synchronous
Parameters - SSBatchTest.processRecords

No comments:

Post a Comment

Copy Markup charges while posting purchase invoice using X++

 Copy Markup charges while posting purchase invoice using X++ Class: Important: Code logic is just for Reference.  New class => Duplicate...