Integration

SellStack orders are integrated with Dynamics 365, specifically with the Sales Order entity. Equivalently, SellStack order items are integrated with the Sales Lines entity in Dynamics 365. The synchronization process happens in near real-time (usually within 60 seconds) after the order is successfully placed in SellStack. The process has two steps:

  1. Order synchronization

  2. Order items synchronization

In the first step, a new Sales Order is created in Dynamics 365 with a reference to the SellStack Order entity. The reference is recorded as a value in the External Document No field. In this step, a business entity on whose behalf an order is placed is mapped with a Customer entity in Dynamics. In the second step, one Sales Line object is created for each order item. The following order item properties are mapped in this step:

  • Product code

  • Lot number

  • Location code

  • Quantity

  • Unit price

  • Discounted unit price

In case of successful synchronization, the order’s ERP state is updated from 'to be created' to 'created', and a Sales number is set as a reference to the entity in Dynamics 365. In case of any error, the ERP state is set to 'failed' and an error message is displayed in the Admin interface. The most common errors occur because of a blocked state of items or lot number in Dynamics 365, or the Customer was wrongly set in Dynamics (e.g., a customer posting group is empty).

Last updated