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

Disabling the flight in D365FO (CHD - Tier 1)

 INSERT INTO dbo.SYSFLIGHTING(FLIGHTNAME, ENABLED)  VALUES ('<FlightObjectName>_KillSwitch', 1)  or  INSERT INTO dbo.SYSFLIGHT...