Batch Job D365FO & AX 2012

            Batch Job D365FO & AX 2012

Following the below steps, You can create the batch job in simple steps.


First Create a Class and extends it with the RunBaseBatch class

BatchJob_1
Then override the description method and return the job name. it will appear on job dialog.
BatchJob_2
Now override the run method and write your logic. in my case i was updating the status from 0 to 1 in my custom table
BatchJob_3
Now override the main method and run your code like the below image
D__tuts_blog_BatchJob_4
Now Run the class by right click and select open a dialog will appear like the below image.
2016-01-29_1749.png

Support Faryal's Cusine


No comments:

Post a Comment

Virtual Fields Vs Computed Fields

  Virtual Field: A virtual field in D365FO is a field that doesn't have a direct representation in the database. It's a field that y...