| |
| USE CASE Inspect Unhandled Cargo [subfunction] |
| =========================================================================== |
| A Delivery Inspector inspects and updates the delivery status of a cargo that has |
| not been received in the origin location yet. |
| |
| Since the route specification is the single authority to determine the origin |
| of the cargo - regardless of any itinerary - we expect the cargo to be received |
| in the origin location as the first handling event. |
| |
| |
| Primary actor.. Delivery Inspector |
| Scope.......... Handling Monitoring System in shipping application |
| Preconditions.. Cargo has not been received yet. |
| Trigger........ Delivery Inspector receives request to inspect the delivery status of unhandled cargo. |
| |
| |
| Main Success Scenario |
| --------------------------------------------------------------------------- |
| 1. Delivery Inspector collects known delivery data. |
| 2. Delivery Inspector verifies that cargo is routed. |
| 3. Delivery Inspector sets expected receipt in origin location. |
| 4. Delivery Inspector saves cargo delivery snapshot. |
| |
| |
| Deviations |
| --------------------------------------------------------------------------- |
| 2a. Cargo has no itinerary: |
| 1. Delivery Inspector marks cargo as non-routed. |
| |
| 2b. RouteSpecification is not satisfied by Itinerary: |
| 1. Delivery Inspector marks cargo as misrouted. |