Skip to content

Orders wait for your ERP

When your ERP collects booked orders through its integration, one switch makes SLFLO wait for it: each booked order goes to the ERP, which accepts or refuses it, instead of the office confirming it. Who: administrator · Where in the cycle: ERP.

  • Only an administrator (TENANT_ADMIN) sees the switch, at the top of Setup › Settings › Integrations, above Stock is managed in your ERP.
  • Add an integration for your ERP first. It must be active and may answer orders (orders:write); to collect them it also needs to read them (orders:read). Without one that may answer, the switch is refused with ERP_MODE_NEEDS_CLIENT.
  • Agree the day with your ERP developer: from then on the ERP must collect and answer every booked order, or it waits (ERP mode).
  1. Open Setup › Settings › Integrations. Orders wait for your ERP reads Off — the office confirms booked orders.
  2. Turn it on. Make booked orders wait for your ERP? lists what changes (see below).
  3. Press Turn it on. The switch reads On — booked orders go to Dynamics 365 — the name of your ERP from its integration, or “your ERP” — and the console says “Booked orders now wait for Dynamics 365.” Under the switch, “0 orders wait for Dynamics 365 now.” counts the orders waiting for its answer.

While it is on:

In the dialog What the office meets
Booked orders go to Dynamics 365 once received or approved, and show With ERP until it accepts or refuses them. On Field › Orders the order is With ERP; then Closed when the ERP accepts it, or ERP failed with its reason. See what changes when your company waits for its ERP
While an order waits for Dynamics 365, nobody confirms, delivers or cancels it in SLFLO. A With ERP order has no Confirm, Delivered or Cancel order. On an ERP failed one the office presses Send to ERP again or cancels it.
Orders already waiting for the office stay with the office. Orders received or approved before you turned it on are confirmed and delivered in SLFLO as before.
Van sales, invoices and payments don’t change. A van sale is delivered and invoiced at once; your ERP reads invoices, receipts and credit notes in any mode.

The phones pick up the order states at their next sync: With ERP, Closed by ERP, ERP failed.

Press the switch. Stop sending booked orders to your ERP? says that booked orders then wait for the office to confirm them in SLFLO, as without an ERP. Press Turn it off. No integration is needed for that.

It can’t be turned off while orders still wait for the ERP: the ERP may already have booked them, and once the switch is off it could no longer answer them. The page counts them (“3 orders wait for Dynamics 365 now.”), the dialog says “3 orders still wait for Dynamics 365. Let it accept or refuse them first, then turn this off.” and Turn it off is greyed. Find them on Field › Orders with Status With ERP, and ask your ERP developer to answer them.

Orders the ERP refused stay ERP failed after it is off. Send to ERP again only brings one back as ERP failed, with the reason “ERP_DISABLED: This company no longer sends orders to an ERP…”, and an ERP failed order can’t be confirmed in SLFLO: the office cancels it, and the rep books it again.

Every change is in the audit trail as “Changed what the ERP manages”, for example “Orders now wait for Dynamics 365”.

Nile Fresh’s ERP developer has the “D365 production” integration reading and answering orders on the sandbox. On go-live day the administrator turns on Orders wait for your ERP. At 11:20 Sara approves Delta Kiosk’s order SO-000002: it goes to Dynamics 365 and shows With ERP, and the count under the switch goes from 0 to 1. The ERP books it and answers accepted, the order is Closed and the count is back to 0 (the whole example).

  • From the next order received or approved, booked orders wait for the ERP.
  • Your ERP answers orders through the integration API; before the switch is on its answers are refused with ERP_MODE_NOT_API.
What you seeWhat to do
Add an active integration for your ERP first (Settings → Integrations), then turn this on.ERP_MODE_NEEDS_CLIENTAdd an active integration that may answer orders (orders:write), then turn the switch on.
Orders still wait for your ERP. Let it accept or refuse them first (Field → Orders, status With ERP), then turn this off.ERP_ORDERS_WAITINGOrders still wait for your ERP. Let it accept or refuse them (Field › Orders, Status With ERP), then turn the switch off.
How this company's orders reach its ERP is set by SLFLO. Contact SLFLO to change it.ERP_MODE_SET_BY_SLFLOSLFLO set how your orders reach your ERP. Contact SLFLO to change it.
This company's orders are not set to be collected by its ERP, so the ERP cannot answer for them.ERP_MODE_NOT_API(The ERP sees this.) Turn on Orders wait for your ERP before the ERP answers orders.
ERP failed again after Send to ERP again, reason ERP_DISABLEDThe switch is off, so no ERP collects it. Cancel the order, and book it again.
The switch isn't on the Integrations tabOnly an administrator sees it. Ask one.