Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes how to configure and run a recurrent batch job to create sales orders and payments for online store transactions in Microsoft Dynamics 365 Commerce headquarters.
Posting online sales and payments is a two-stage process.
- Pull the online commerce transaction data in headquarters.
- Synchronize orders to create sales orders in headquarters.
Pulling the online transaction data can be done either by manually running the P-job, or by creating a recurrent batch job.
Manually run the P-job
To manually run the P-job, follow these steps.
- In headquarters, go to All workspaces > Retail and Commerce IT.
- Select Distribution schedule.
- Select P-0001.
- Adjust channel database groups, if required.
- Select Run now.
- Select Yes.
Schedule a recurring P-job
To schedule a recurring P-job, follow these steps.
- In headquarters, go to All workspaces > Retail and Commerce IT.
- Select Distribution schedule.
- Select P-0001.
- Select Create batch job.
- Select Run in the background.
- Enable Batch processing.
- Select Recurrence.
- Select the No end date option.
- In the Count field, enter the interval between the runs in minutes. Typically, this would be 5-10 minutes.
- Select OK.
- Select OK.
Orders can be synchronized either by manually running the Synchronize orders job, or by creating a recurring batch job.
Manually run order synchronization
To manually run the Synchronize orders job once, follow these steps.
- In headquarters, go to All workspaces > Store financials.
- Select Synchronize orders.
- In the Organization hierarchy field, select Stores by Region.
- Select either a specific online store, or select a node if you want to create the batch job for a group of stores.
- Select the arrow to add your selection.
- Select the Run in the background tab.
- Disable Batch processing.
- Select Recurrence.
- Select the End After option.
- In the End After field, enter "1".
- Select OK.
- Select OK.
Schedule recurring order synchronization
The following procedure walks through configuring and running a recurrent batch job to create sales orders and payments for online store transactions, using the USRT company in demo data.
To schedule recurring order synchronization, follow these steps.
- In headquarters, go to All workspaces > Store financials.
- Select Synchronize orders.
- In the Organization hierarchy field, select Stores by Region.
- Select either a specific online store, or select a node if you want to create the batch job for a group of stores.
- Select the arrow to add your selection.
- Select the Run in the background tab.
- Enable Batch processing.
- Select Recurrence.
- Select the No end date option.
- In the Count field, enter the interval between the runs in minutes. Typically, this would be 2-20 minutes.
- Select OK.
- Select OK.
Data entities involved in the process
- RetailTransactionTable
- RetailTransactionAddressTrans
- RetailTransactionInfocodeTrans
- RetailTransactionTaxTrans
- RetailTransactionSalesTrans
- RetailTransactionTaxMeasure
- RetailTransactionDiscountTrans
- RetailTransactionTaxTransGTE
- RetailTransactionMarkupTrans
- RetailTransactionPaymentTrans
- RetailTransactionAttributeTrans