3PL company PL-LOG-001 operates a shipper portal integrated with TMS system TMS-LOG-001. The platform uses a simulated TMS adapter TMS-ADT-LOG-001 (scope quotes.read, bookings.write); actual TMS API version and endpoints must be confirmed with the TMS vendor during integration. Shipper account SHP-LOG-005 has 3 portal users.
System state at scenario start: TMS adapter TMS-ADT-LOG-001 active. Shipper SHP-LOG-005 roster: USR-LOG-011 (admin), USR-LOG-012 (operations), USR-LOG-013 (readonly). Portal version PV-LOG-007 deployed.
Quote and booking sequence. USR-LOG-012 submits a quote request: origin Dallas TX, destination Chicago IL, 12 pallets, 8,400 lbs, class 70. The portal sends the request to TMS-LOG-001. The TMS returns quote QT-LOG-042 with carrier options, rates and a validity window expiring at 2026-11-14T18:00:00Z. The portal displays the options with the expiry time visible.
USR-LOG-012 selects carrier option C2 and submits a booking. The portal sends the booking request referencing QT-LOG-042 and option C2. The TMS confirms booking BK-LOG-089. The portal stores BK-LOG-089 with adopted status.
Held-out fixture HELD-LOG-BOOK: 1/1 target. BK-LOG-089 exists in TMS-LOG-001, portal displays confirmed status, BOL generated.
Expired quote denial. USR-LOG-012 attempts to book carrier option C3 from the same quote QT-LOG-042 at 2026-11-14T18:05:00Z, after expiry. The portal checks the validity window, determines it has elapsed, and blocks the booking. NEG-LOG-EXPIRY: 1/1 denied.
Timeout reconciliation (simulated contract). USR-LOG-012 submits a booking for quote QT-LOG-043 at current revision QT-LOG-043-v3 with stable typed key OP-LOG-043-BK-001 binding tenant PL-LOG-001 + shipper SHP-LOG-005 + action booking-create + quote QT-LOG-043 revision QT-LOG-043-v3 (carrier C1, rate $2,340, validity 2026-11-15T18:00:00Z) + actor USR-LOG-012 (role: operations) + payload hash PH-LOG-043-001 to a durable outcome. The TMS request times out. Before any further action, the portal rechecks: USR-LOG-012 holds the operations role for SHP-LOG-005, QT-LOG-043 current revision is still QT-LOG-043-v3, QT-LOG-043-v3 is within its validity window, no booking has been committed against QT-LOG-043-v3 (NEG-LOG-OBSOLETE-QUOTE-EXP gate), tenant PL-LOG-001 is active, and TMS-ADT-LOG-001 reports active capability for bookings.write with simulated same-key lookup support. Changed parameters on a retry with the same key are rejected; distinct shipments use a new key.
HELD-LOG-COMMITTED: 1/1 target. TMS returns an authoritative result matching this tenant, shipper, quote revision QT-LOG-043-v3, carrier, rate, actor and payload; booking BK-LOG-090 exists. Adopted once; no second mutation.
HELD-LOG-NONEXEC: 1/1 target. TMS returns an explicit terminal NOT_EXECUTED for OP-LOG-043-BK-001 against quote revision QT-LOG-043-v3. "No booking found" alone is not sufficient. The simulated contract documents exact same-key retry support; the portal rechecks current role, exact current quote revision QT-LOG-043-v3, validity window, tenant and adapter capability before retry.
HELD-LOG-INCONCLUSIVE: 1/1 target. TMS returns empty lookup, generic 404, pending, timeout or is unreachable. No write. Routes to operations admin USR-LOG-011 for reconciliation. This contract is simulated; actual TMS idempotency support must be confirmed with the vendor.
Late scan and arrival versus occurrence order. Shipment BK-LOG-089 has been delivered, with carrier proof of delivery POD-LOG-089 (source: carrier driver scan at destination) confirmed at 2026-11-16T14:30:00Z. A late location scan SCN-LOG-201 (event ID EVT-LOG-201-LOC, carrier CR-LOG-005, hub HUB-LOG-003) from a transfer hub arrives at the portal at 2026-11-16T16:00:00Z (arrival time) with an event occurrence timestamp of 2026-11-15T22:00:00Z. The portal appends SCN-LOG-201 in the timeline at its occurrence timestamp but does not roll back the delivery confirmation. POD-LOG-089 remains the authoritative delivery event.
HELD-LOG-REPLAY: 1/1 target. The portal receives a duplicate delivery of event EVT-LOG-201-LOC for BK-LOG-089. The event ID matches an already-processed event. The duplicate is acknowledged without re-processing; no timeline entry is duplicated.
HELD-LOG-OLDER: 1/1 target. The portal receives a valid distinct older event EVT-LOG-190-LOC (departure from origin hub, occurrence 2026-11-14T08:00:00Z) for BK-LOG-089 after delivery is confirmed. The event is appended at its occurrence position in the timeline but does not change delivery status. Delivery status is source-authoritative: only a carrier POD scan or explicit carrier delivery confirmation establishes delivered status.
Authoritative correction pathway. Operations admin USR-LOG-011 discovers that BK-LOG-089's delivery location was recorded incorrectly due to a carrier data error. USR-LOG-011 submits a correction through the portal with operation key OP-LOG-089-CORR-001 and a reference to the carrier's correction notice. The portal records the correction as a new event linked to the original, preserving the original event for audit. The corrected data replaces the display but the original event remains in the audit trail.
Denied obsolete quote revision (expired and committed). USR-LOG-012 attempts to modify the carrier selection on QT-LOG-042 after it expired and booking BK-LOG-089 was confirmed. The portal rejects the modification: the quote is expired and a booking has been committed against it. NEG-LOG-OBSOLETE-QUOTE-EXP: 1/1 target. Expired committed quote revision denied.
Denied stale quote revision (unexpired, superseded). USR-LOG-012 attempts to book carrier option C1 from quote QT-LOG-043-v1 (rate $2,140). Since USR-LOG-012 loaded the page, the TMS issued a revised version QT-LOG-043-v2 (carrier/rate changed due to capacity update; rate $2,280). QT-LOG-043-v1 is still within its original validity window but has been superseded. The portal detects the stale revision at the mutation gate and rejects the booking: "Quote has been revised. Please review current terms." The portal displays QT-LOG-043-v2 with the current carrier and rate. First and retry gate and outcomes use the actual current revision and matching payload. NEG-LOG-STALE-REVISION: 1/1 target. Unexpired stale quote revision rejected before mutation.
Wrong-tenant denial. USR-LOG-012 (shipper SHP-LOG-005) modifies an API parameter to request shipment data for shipper SHP-LOG-008. The data access layer checks tenant association and denies the request. NEG-LOG-TENANT: 1/1 denied.
Redacted proof of delivery with role-scoped access. Shipper SHP-LOG-005 requests the POD for BK-LOG-089. The portal serves the POD with the receiver signature visible to USR-LOG-011 (admin) and USR-LOG-012 (operations) who have a documented need for delivery confirmation. Consignee personal contact details and non-essential fields are masked. USR-LOG-013 (readonly) sees delivery status but not the signature. The full unredacted POD is accessible only to PL-LOG-001 operations staff with documented access justification.
Mutation gate. Every first and retried booking submission rechecks: actor's current role (operations for SHP-LOG-005), quote validity window, current quote revision matches (NEG-LOG-STALE-REVISION), no committed booking against this quote (NEG-LOG-OBSOLETE-QUOTE-EXP), tenant PL-LOG-001 active, TMS-ADT-LOG-001 reports active capability for bookings.write. If USR-LOG-012's session credentials have been revoked, the booking is denied before reaching the TMS. A scope, connectivity, role or revision mismatch suspends the write and routes to the integration configuration queue. This contract is simulated; actual TMS idempotency support must be confirmed with the vendor.
Rollback and restore. If the portal must roll back from PV-LOG-007 to PV-LOG-006 due to a display defect, the rollback preserves all booking records. Bookings confirmed by TMS-LOG-001 remain authoritative in the TMS. Expired quotes and denied tenant requests from the rolled-back period are not altered.
Residual limits. Carrier scan feed latency varies by carrier; the portal cannot guarantee real-time tracking accuracy beyond the carrier's reporting frequency. Third-party systems that consumed tracking data before a correction cannot be recalled.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.