A hypothetical 3PL builds a shipment handoff system integrating WMS and TMS with freight exception workflows. Named system owner: the operations director. Named independent approver: the logistics manager. All targets are hypothetical and illustrative.
Prelaunch fixtures.
lg_cur_1: Shipment picked and staged in WMS, tender created in TMS, carrier accepted
lg_cur_2: Exception triaged by authorized dispatcher, assigned to investigation queue
lg_stale_1: Tender references a shipment that WMS shows was cancelled after staging
lg_unknown_1: Carrier acceptance message received but SSCC key does not match any active tender
lg_inelig_1: Tender for a temperature-controlled shipment assigned to a carrier without verified reefer capability
lg_unauth_role_1: Warehouse picker attempting to approve a freight exception (approval requires dispatcher role)
lg_unauth_tenant_1: Staff from Site B attempting to view Site A shipment records without cross-site authorization
lg_unavail_1: TMS temporarily unreachable for tender status verification
Disjoint held-out setup. 12 synthetic shipments divided into two disjoint cohorts. Positive cohort (5 shipments: SHP-001 through SHP-005): complete WMS stock verification, valid TMS tender, confirmed carrier acceptance, authorized dispatcher, qualified logistics manager. Negative cohort (7 shipments: SHP-006 through SHP-012): each tests one denial condition (cancelled shipment in WMS, unmatched SSCC, ineligible carrier, wrong role, wrong site scope, TMS outage, stale carrier state from replayed EPCIS event). Each negative fixture has a distinct ID and measurable no unauthorized effect; all are hypothetical fixture targets.
Allowed workflow (lg_1). Positive cohort SHP-001 staged in WMS with SSCC SSCC-001. TMS tender created. Carrier actual tender acceptance received from carrier or dispatch authority (distinct from TMS mirror of tender state; TMS recording tender creation is not carrier acceptance). Dispatcher verifies carrier acceptance against carrier communication, not just TMS tender status. Logistics manager approves the handoff. System records decision in minimized write-once log (shipment ID, SSCC, dispatcher identity, logistics manager approval, decision, timestamp, WMS stock version; no raw customer shipping details in log). Carrier pickup confirmed by carrier proof (external business effect verified independently of decision log and TMS mirror). 5 of 5 positive shipments handed off with complete audit trail and confirmed carrier pickups verified against carrier source.
Denied: stale shipment (lg_2a). Fixture lg_stale_1 / negative SHP-006: tender references a shipment WMS shows cancelled. Dispatcher verifies against current WMS stock state. Handoff rejected. 0 handoffs for cancelled shipments.
Denied: unknown SSCC (lg_2b). Fixture lg_unknown_1 / negative SHP-007: carrier acceptance references an SSCC not matching any active tender. System cannot match to authoritative tender. Queued for investigation. 0 handoffs without verified tender match.
Denied: unauthorized role (lg_2c). Fixture lg_unauth_role_1 / negative SHP-008: warehouse picker attempts to approve a freight exception. System enforces role check: approval requires dispatcher role. 0 approvals by unauthorized roles.
Denied: unauthorized site (lg_2d). Fixture lg_unauth_tenant_1 / negative SHP-010: staff from Site B attempts to access Site A shipment records. System enforces site isolation. 0 cross-site record access.
Denied: ineligible carrier (lg_2e). Fixture lg_inelig_1 / negative SHP-009: tender assigned to carrier without verified reefer capability. System flags equipment mismatch. 0 handoffs with unverified carrier capability.
Denied: authority unavailable (lg_2f). Fixture lg_unavail_1 / negative SHP-011: TMS temporarily unreachable. Handoffs queued but not processed without current tender verification. 0 handoff decisions without authoritative TMS data (fail closed).
Denied: replayed EPCIS event (lg_2g). Fixture negative SHP-012: a replayed EPCIS shipping event references SSCC-001 which was already handed off. System detects duplicate event by SSCC and event timestamp. Prior handoff record preserved. 0 duplicate handoffs from replayed visibility events.
Idempotency and duplicate detection (lg_3). Operation A: dispatcher prepares handoff draft for target SHP-001, logistics manager approves draft, operation key op:lg_A_001, recorded in decision log. Only after approval: carrier tender commitment confirmed from carrier or dispatch authority (distinct from TMS mirror). Physical pickup may still be pending even after tender acceptance. System independently verifies carrier commitment and pickup state (external business effects verified independently by reading carrier source). Replayed operation A with same key: rejected, 0 duplicate carrier commitments, prior log entry preserved. Operation B: dispatcher prepares handoff draft for distinct target SHP-002, logistics manager approves, operation key op:lg_B_002, recorded. Carrier commitment confirmed. 2 of 3 proposals applied (A and B), 0 duplicate business effects in carrier commitments. Synthetic targets SHP-001 through SHP-005 used for all shipment IDs.
Ambiguous first response (lg_3b). Dispatcher submits handoff for SHP-003, key op:lg_A_003. Network interruption before acknowledgment. Before any possible repeat: check exact operation key op:lg_A_003 in durable decision log. Independently read current TMS tender state from carrier or dispatch authority (not TMS mirror): check whether tender is accepted, tendered or pending. Separately check carrier source for pickup confirmation (pickup is distinct from tender acceptance and may still be pending even after commitment). Read current WMS stock state and version. Check durable dispatch backlog for original intent. Log found, carrier commitment exists: handoff already recorded and commitment confirmed, no repeat. If physical pickup is still pending, that is a separate operational status; do not resend the tender. Log found, carrier commitment absent or pending: STOP. Durable local record indicates attempted but carrier state disagrees or shows pending. Do not repeat. Operations director (named manual reconciliation owner) investigates carrier and TMS state, reconciles log, and determines corrective action. Absent physical pickup alone never justifies resending the tender; tender acceptance and pickup are distinct events. Log not found, carrier commitment exists: effect exists without log. Do not repeat. Reconcile log against carrier records without resending. Log not found, carrier and TMS unambiguously confirm no commitment AND no pending tender AND no inflight dispatch: only then may dispatcher verify current role, site scope, WMS stock version and TMS record version, then resubmit with identical stable key op:lg_A_003 only after logistics manager approval. Revoked permission: if dispatcher's site scope or role was revoked after initial submission, fail closed, no repeat regardless of carrier state; escalate to current authorized dispatcher. If WMS, TMS, carrier state or current authority is unavailable, unknown or stale: no attempt, hold for reconciliation by operations director. 0 duplicate handoffs, 0 conflicting records.
Decision logging and access control (lg_4). Minimized write-once decision log captures: shipment ID, SSCC, staff identity, approver identity, decision (approve/defer/reject), timestamp, WMS/TMS record versions. No raw customer addresses or shipment contents in log entries. Log entries are append-only. Scoped read access restricted to operations management for handoff audit and exception investigation. Retention owner is the operations director; retention purpose is shipment handoff audit trail and carrier dispute evidence; retention period per organization policy. Redacted log view available for operational reporting.
Staged restore (lg_5). After TMS connectivity restored: reconcile authoritative TMS tender state, carrier acceptance state and any pending handoff operations against current WMS stock and TMS versions before restart. Prior stable version staged in truly private preview. Current site boundaries, permission assignments and committed decision log entries preserved. Already-committed carrier pickups from manual fallback preserved and reconciled against system records. Operations director verifies data integrity. Logistics manager verifies handoff workflow correctness against current WMS/TMS state. Both approve before production restore. If TMS remains unavailable after restoration attempt: capture minimal handoff metadata securely (shipment ID, SSCC, carrier, timestamp), hold all TMS commits, do not promise writes to unavailable TMS. Named manual fallback during TMS outage: dispatchers confirm carrier acceptance via phone or email directly with carrier, record handoff decisions on paper forms with shipment ID, SSCC, carrier name, acceptance confirmation and dispatcher signature, stored securely; holds all TMS commits; reconciles against TMS and carrier records upon restore.
Tablet and keyboard access plan (lg_6). On iPad 10th generation at 820 by 1180, dispatcher attempts 4 tasks: (1) review handoff queue (expected: queue fits portrait viewport, 0 horizontal overflow), (2) open shipment detail with WMS stock state, TMS tender state and carrier acceptance status (expected: three-part view scrollable with complete data), (3) verify carrier acceptance against carrier source, not just TMS mirror (expected: carrier acceptance indicator visible), (4) tap Approve for logistics manager review (expected: button visible without scrolling past detail). Expected errors if broken: carrier acceptance confused with TMS tender status, detail truncated, approve button unreachable. On desktop at 1280 by 800, keyboard-only logistics manager attempts 3 tasks: (1) navigate exception list with arrow keys (expected: visible focus ring on each row), (2) open exception detail with Enter (expected: focus moves to detail panel with WMS/TMS/carrier data), (3) approve or defer with keyboard (expected: decision controls accessible, status announced). Partial failure: if carrier acceptance confirmation is delayed after TMS tender update, the handoff should show a pending-carrier indicator rather than claiming carrier acceptance from TMS mirror alone; what remains uncertain is whether the pending-carrier state renders correctly on both form factors. Test plan; results not claimed.
This is a hypothetical scenario for illustration. Actual scope, timeline and cost depend on your requirements.