AX 2012: Mastering Batch Framework

Master the Batch Framework in Dynamics AX 2012 by going through the following topics in sequence. The initial topics discuss the basics followed by advanced and complex concepts of the Batch Framework. All the posts will be based on the SysOperation framework which is recommended over the depreciated RunBase framework to develop customized batch jobs.

Following are the topics which are listed in the order of their complexity:

1. Create a simple batch job.

This post describes how to develop a fully functional customized batch job with the following minimum development artifacts:

  • Service operation class

2. Add fields to batch job dialog.

This post builds on the previous topic and describes how to use data contracts to add custom fields to the batch job dialog to control the service operation. It uses the following development artifacts:

  • Service operation class
  • Data contract class

3. Add lookup to batch job dialog.

This post builds on the previous topic and describes how to develop custom UI builder class extending SysOperationAutomaticUIBuilder base class to add lookups and custom validations to batch job dialog. It uses the following development artifacts:

  • Service operation class
  • Data contract class
  • UI Builder class

4. Customize controller for batch job.

This post builds on the previous topic and describes how to develop custom controller class extending SysOperationServiceController base class to have more control over execution modes of the service operation as well as initializing dialog fields with default values. It uses the following development artifacts:

  • Service operation class
  • Data contract class
  • UI Builder class
  • Controller class
Advertisements

One thought on “AX 2012: Mastering Batch Framework

  1. Hi Muhammad,

    It is a very helpful post.
    Thank you so much for sharing.
    Keep sharing this kind of wonderful posts.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s