D365FO - How to create a periodic task
This article explains how to create a periodic task or batch job within Dynamics 365 for Finance and Operations using SysOperationServiceController As part of this example, I will be creating a simple periodic task that requires parameter input from user. To achieve this we need to create the following elements Data contract class UI Builder class (only recommend if you need custom UI fields) Service class Controller class Action menu item Data contract This class is required for handling user data. All parameters defined in this class will be rendered as parameters within the batch job dialog in UI. Class declaration DataContract Attribute Required to mark this class as a data contract class. SysOperationContractProcessing Attribute Specify the UI builder class within the SysOperationContractProcessing attribute to register the UI builder with the data contract (This is only required if you have a UI builder class. This step is optional and can be skipped) Parameters D...