System Design Atlas

B2B wholesale orders with credit limits

09 / 10Worked example

Operations and security

Why do reservations remain in place until uncertain fulfilment is reconciled?

Measurement points require assigned roles, responses and completion evidence. Order support handles domain investigations under its role contract; technical recovery is coordinated with platform operations where that role is defined.

Starting point Measure lock duration separately by item and customer.

Assumptions for the example case

A fictional example design with one customer, one currency and one warehouse; a binding price offer; complete local stock and credit reservations; and one complete delivery. Figures and quality goals are illustrative test assumptions. Multiple currencies, tax calculation, partial delivery and credit insurance are outside the scope.

Signal, ownership and resolution

Technical recovery, domain investigation and access evidence

Outbox backlogSignal
Outbox backlog → Platform operationscheck
Platform operationsDelivery is ongoing
Delivery outcome unknownSignal
Delivery outcome unknown → Order supportcheck
Order supportDEL-101 reconciled
Unauthorised accessSignal
Unauthorised access → Salescheck
SalesRole verified

Order support reconciles the delivery reference; platform operations restores delivery; role permissions limit visibility.

A timeout follows possible delivery. Retain reservations until reconciliation is evidenced. Stock is not promised again and credit is not released.

Access and recovery

Object-level authorisation
Customer purchasing receives access only to entities needed for its task. Every change is checked server-side against the role and specific object. Order support receives documented investigation permissions.
Evidence rather than assumption
Inventory management delivers, but its response is missing. The order remains erfüllung_offen or klärung; order support reconciles the same reference. A timeout releases neither stock nor credit reservations automatically.
Operating agreement
Agree retention periods, on-call coverage, recovery time and acceptable data loss before live operation. Test restoration from backup using the open case from step 7. Keep sensitive payloads out of operational logs.

Retain reservations during uncertain fulfilment

Retain reservations during uncertain fulfilment

Retain reservations until reconciliation is evidenced.

Timeout follows possible delivery.

Goods are not promised again, credit is not released.

Alternative considered
Automatic cancellation can release already delivered goods.
Trade-off
Order support must investigate.
Reassess
Reconciliation with the provider is not reliably available.

Terms in this step

Retain reservations during uncertain fulfilment
Goods are not promised again, credit is not released.

Try it yourself

Delivery may have occurred before a timeout. Determine whether reservations may be released and who investigates.

A hint for your attempt

Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.

Compare with a possible solution
First part of the solution
Stock and credit remain reserved or associated with open fulfilment; a timeout is not cancellation evidence.
Second part of the solution
Order support reconciles the same external reference. Only an evidenced outcome permits the appropriate next transition.

Apply to your project

Which corresponding assumption would you test first in your project? Consider this trigger: Reconciliation with the provider is not reliably available.

Step 10 examines duplicate commitments.