Field Service App ↔ SAP B1 Service Calls

Two-way field service loop: dispatch checks contract/warranty coverage on the customer equipment card, technician updates flow back as PATCH /ServiceCalls(id), and billable parts post as ServiceCallInventoryExpenses. Warranty-covered work is flagged free; out-of-warranty work is billed.

Steps in this flow

  1. Field App: Technician Update Webhook
  2. Guard: Technician Update
  3. SL Login (401→relogin, retry once)
  4. SL: GET Warranty/Contract for Equipment
  5. SL: PATCH /ServiceCalls (status/resolution)
  6. Under Warranty/Contract?
  7. SL: PATCH ServiceCallInventoryExpenses (billable)
  8. Notify: Free (Warranty Covered)
  9. Ack → Field App

All templates