To await the results of asynchronous actions on an order, you can delay order exports.
-
Set a delay time in minutes for an order export.
-
In Business Manager, click App Launcher
, and then select .
- On the Order Preferences page, specify the Order Export Delay in minutes.
- Specify the Order Edit Export Delay, which is the number of minutes to delay the order export after it's been opened for editing.
-
In Business Manager, click App Launcher
-
Implement the order export delay that you set in Business Manager.
- Select Use Order Export Delay in the ExportOrders job step.
-
The date after which an order can be exported is reflected in
dw.order.Order.getExportAfter().See get ExportAfter.