Mirrors purchase orders placed with a supplier as sales orders in the head office, so head-office-to-store flows are reflected on both sides.
The action runs as a step in a SyncTool configuration. You configure the step's settings (e.g. server, login, path, format or SQL depending on the action) and run the configuration. The action fetches the data it needs from Sapera or the external source itself – you do not map source columns as you would for a regular import. Any parameters are described below.
The action mirrors purchase orders placed with head office (where head office acts as the supplier, given by SupplierIdentifier) as sales orders at head office – so the goods flow between store and head office is reflected on both sides.
Each store department is linked to a customer via OrganizationalUnitToCustomerMapping. The sales-order type is chosen with SalesOrderTypeSystemName, and head office's department is given by HeadOfficeOrganizationalUnitDisplayName.
Only new purchase orders since the last run are processed (this is remembered between runs). Direction: creates sales orders in Sapera.
Parameter | Explanation |
| Display name of the head office organizational unit in which the sales orders are created. |
| Maps each store organizational unit to a customer identifier, formatted as 'StoreOu1=Customer1;StoreOu2=Customer2'. |
| Optional system name of the sales order type to use for the created sales orders. |
| Identifier of the supplier whose purchase orders should be mirrored. |
See also the overview SyncTool – actions.