Fleet Route App → SAP B1 Proof-of-Delivery & Route Cash
Driver route outcomes post back to SAP Business One: successful POD (signature/photo, geo-stamp) writes to UDFs on the delivery note and records driver cash collection via IncomingPayments against a cash-route clearing account; failed delivery creates a Return based on the delivery. Idempotent per stop event.
Steps in this flow
- Route App: Stop Outcome Webhook
- Guard: Stop/POD Event
- SL Login (401→relogin, retry once)
- SL: PATCH /DeliveryNotes (POD UDFs)
- Switch: Stop Outcome
- SL: POST /IncomingPayments (route cash)
- SL: POST /Returns (failed delivery)
- Ack → Route App