Orders Update
The action reports an order's state back from the ERP system. It is the reverse direction of Orders Export and thereby closes the circle: the order goes out for processing, and what has become of it comes back here and from here into the shop the customer ordered in.
What gets transferred
The ERP system sends an identifier, a status value and, where present, a tracking number. The order itself is not touched in the process: items, amounts and addresses stay as they are. This action does not create an order either. Where none is found for the identifier, the call is skipped and noted as such in traces.
The one status value becomes three entries. The ERP system knows one processing state per transaction, TRADElube keeps Order Status, Payment Status and Shipping Status separately. So the same reported value runs through three mapping tables of the channel and can point at something different in each.
How the transfer plan is built
The plan sits in the channel, in the Transfer Plans section under Orders and there in the Update tab. It has no sections. The four assignments sit directly below the tab.
| Assignment | What it decides |
|---|---|
| Order Status | Mandatory. The order's state, translated through the Order Status tab in the Mappings section |
| Payment Status | The same value, translated through the Payment Status tab |
| Shipping Status | The same value, translated through the Shipping Status tab |
| Number | The tracking number, shortened to eighty characters |
Payment and shipping status are set out of the box to write only on a filled result. So where the mapping table has no entry for the reported value, the previous status stays rather than being emptied. With the Order Status it is different: it is mandatory, and without a mapping the call fails.
Special features and limits
You fill the three mapping tables yourself. As long as the Order Status tab in the channel's Mappings section is empty, no report gets through, and the orders stay on their old state in the shop. That is the one piece of setup without which this action does nothing.
The Number row carries the tracking number. The name is that of the field on the order's delivery item. What is meant and filled is the number the shipment runs under at the carrier.
Whether the shop sees the report is decided by the shop's own channel. This action writes the state into TRADElube. From there into the shop it is carried by the shop channel's task transferring the order status.
Further reading
- CAO-Faktura: login details, configuration, mappings and the other eighteen actions
- Orders Export: the route by which the order reaches the ERP system
- Orders (reference): the detail view of an order, its items and the three status fields
- Mappings and channel mappings (concepts): what a mapping is and how you fill a table