Book Image

Microsoft Dynamics AX 2012 R2 Services

Book Image

Microsoft Dynamics AX 2012 R2 Services

Overview of this book

Table of Contents (17 chapters)
Microsoft Dynamics AX 2012 R2 Services
About the Authors
About the Reviewers

Batch processing

When you use an asynchronous adapter such as the filesystem adapter or the MSMQ adapter, you will have to schedule batch tasks to process the messages that are exchanged.

To enable batch processing for asynchronous communication, perform the following steps:

  1. Navigate to System Administration | Inquiries | Batch jobs | Batch jobs.

  2. Press Ctrl + N to create a new batch job and enter a description; for example, AIF asynchronous processing.

  3. Select the new batch job and click on View tasks.

  4. Press Ctrl + N and enter AifGateWayReceiveService in the Class name field. Also, select the appropriate company account and save the record.

  5. Repeat the previous step for the AifInboundProcessingService, AifOutboundProcessingService, and AifGatewaySendService classes. Be sure to add them in that sequence.

  6. On all but the first task, add a record in the Has conditions grid. The Task ID field should point to the task that comes before it and the Expected status field should be set to Ended. This will...