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

Convert Call stack to readable format in D365FO X++

//Input --container _xppCallStack = xSession::xppCallStack();  Public static str POL_formatXppCallStack(container _xppCallStack, int _skipFr...