Data and states
In transit is not a completed outcome. Which conditions ensure this outcome?
Receipt records may report partial quantities.
Starting point Replay uses the same identifier and payload.
Assumptions for the example case
A fictional shipment of 100 boxes of hygiene supplies between a warehouse and a distribution point. Local inventory ownership remains clear; offline devices document assigned shipments. All quantities, thresholds and operational targets in this design are illustrative assumptions.
Shipment and disposition
Shipment, allocation and final disposition
Assignment, shipping and cancellation remain separate commands; reception and damage always reference S-49.
State transitions and completion
| Starting point | Condition and effect | Subsequent state |
|---|---|---|
| Planned | Stock allocated atomically | Assigned |
| Assigned | Cancelled before dispatch | Cancelled |
| Assigned | Transport handover confirmed | In transit |
| In transit | Full undamaged receipt | Completed |
| In transit | Partial quantity or damage reported | Under review |
| Under review | Remaining goods accounted for by evidence of return or disposal | Resolved and completed |
Planned
- Condition and effect
- Stock allocated atomically
- Subsequent state
- Assigned
Assigned
- Condition and effect
- Cancelled before dispatch
- Subsequent state
- Cancelled
Assigned
- Condition and effect
- Transport handover confirmed
- Subsequent state
- In transit
In transit
- Condition and effect
- Full undamaged receipt
- Subsequent state
- Completed
In transit
- Condition and effect
- Partial quantity or damage reported
- Subsequent state
- Under review
Under review
- Condition and effect
- Remaining goods accounted for by evidence of return or disposal
- Subsequent state
- Resolved and completed
In transit is not a completed outcome.
The remaining goods' whereabouts stay unresolved until evidenced.
Receipt records may report partial quantities.
100 accepted undamaged → Completed. 98 accepted + 2 damaged → Under review → evidence for 2 → Resolved and completed.
- Alternative considered
- Closing on a timer hides missing goods.
- Trade-off
- Coordination needs a work list.
- Reassess
- Frequent losses require process review.
Try it yourself
Draw the normal completion path and the path for damaged goods.
A hint for your attempt
Receipt records may report partial quantities.
Compare with a possible solution
- Normal
- 100 accepted undamaged → Completed.
- Damage
- 98 accepted + 2 damaged → Under review → evidence for 2 → Resolved and completed.
Apply to your project
How does “In transit is not a completed outcome” apply to your own project?