Process status messages for data exchange

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3

Use the following procedure to set up a batch job to process status messages from Commerce Data Exchange.

The batch job transfers messages from the message database to the Microsoft Dynamics AX database. After messages are copied to the Microsoft Dynamics AX database, they can be viewed in Microsoft Dynamics AX. For information about how to view status messages, see View or cancel retail data distribution sessions and View history for a distribution schedule.

The batch job also purges expired data from both the Microsoft Dynamics AX database and the message database. Data expiration depends on the retention period that you specified in the parameters for Retail Scheduler.

A batch job is a scheduled run of a process in Microsoft Dynamics AX. When you create a batch job, you set up a timer in the instance of Microsoft Dynamics AX Application Object Server (AOS). The job is then run automatically on the server. To run batch jobs, you must configure the batch server. For more information, see Configure an AOS instance as a batch server.

  1. Click Retail > Periodic > Data distribution > Process status messages.

  2. In the form, select Batch processing.

  3. If you want to run the batch process as part of a group of jobs, select a batch group in the Batch group field.

  4. Click Recurrence.

  5. In the Recurrence form, set the parameters to specify how frequently this job runs. Set the frequency based on how frequently you want status messages from Commerce Data Exchange to be uploaded to Microsoft Dynamics AX. We recommend that you run the job at least one time every day to catch errors promptly.