SAP B1 ↔ 3PL/WMS (Order Out, Ship-Confirm → Delivery Note)
Outbound sales order (or pick list) exported to the WMS; on WMS ship-confirm, post a SAP B1 Delivery Note based on the source order via BaseEntry/BaseLine/BaseType=17, carrying batch/serial numbers on the lines and supporting partial shipments. Idempotent per WMS shipment id.
Steps in this flow
- Order Released (SAP B1)
- SL Login (B1SESSION)
- GET /Orders (lines + LineNum)
- Export Order → WMS
- WMS Ship-Confirm Webhook
- Guard: WMS Shipment
- Map → BaseType=17 lines (+Batch/Serial)
- POST /DeliveryNotes (base=Order)
- Retry on 401 (re-login)
- Notify: Delivery Posted