A hypothetical manufacturer builds a work order completion system with lot genealogy integrating MES and ERP at the ISA-95 boundary. Named system owner: the production director. Named independent approver: the quality manager. All targets are hypothetical and illustrative.
Prelaunch fixtures.
mf_cur_1: Work order completed with full lot genealogy (material lots, equipment, parameters, quality results), released by quality
mf_cur_2: Quality hold initiated by authorized quality inspector, assigned to investigation queue
mf_stale_1: Work order references a material lot that MES shows was consumed in a prior production run
mf_unknown_1: Work order references an equipment ID not in the plant's ISA-95 Level 3 configuration
mf_inelig_1: Quality release requested for a lot where inspection results are still pending
mf_unauth_role_1: Machine operator attempting to release a quality hold (requires quality inspector role)
mf_unauth_tenant_1: Staff from Plant B attempting to view Plant A work order records without cross-plant authorization
mf_unavail_1: MES temporarily unreachable for production state verification
Disjoint held-out setup. 12 synthetic work order records divided into two disjoint cohorts. Positive cohort (5 orders: MWO-001 through MWO-005): complete lot genealogy, current material lots, quality inspection complete, authorized quality inspector, qualified quality manager. Negative cohort (7 orders: MWO-006 through MWO-012): each tests one denial condition (consumed material lot, unknown equipment ID, pending inspection, wrong role, wrong plant scope, MES outage, duplicate completion from retry). Each negative fixture has a distinct ID and measurable no unauthorized effect.
Allowed workflow (mf_1). Positive cohort target MWO-001 completed on production line. Lot genealogy records: material lots M-101 and M-102, equipment EQ-005, process parameters (temperature, pressure, cycle time). QMS used for independent quality disposition. MES provides actual work state (production step completion, material consumption, lineage). ERP provides current order and inventory commitments. Quality inspector prepares release draft based on QMS disposition, MES work state and inspection results. QA approval obtained from quality manager before quality release. Only after quality manager approval: ERP inventory updated with finished goods receipt and MES completion status marked (distinct business effects, each verified independently by reading ERP inventory state and MES completion state). System records in minimized write-once log (WO ID, output lot, inspector identity, quality manager approval, decision, timestamp, MES production version; no proprietary process recipes in log). No industrial controls write or safety certification performed by this system. 5 of 5 positive work order targets completed with full genealogy, QA approval and confirmed ERP and MES effects.
Denied: consumed material (mf_2a). Fixture mf_stale_1 / negative MWO-006: material lot consumed in prior run. Inspector verifies against current MES inventory. Work order flagged for material sourcing. 0 completions with consumed materials.
Denied: unknown equipment (mf_2b). Fixture mf_unknown_1 / negative MWO-007: equipment not in Level 3 configuration. Queued for engineering review. 0 completions with unconfigured equipment.
Denied: pending inspection (mf_2c). Fixture mf_inelig_1 / negative MWO-008: inspection results pending. Release blocked. 0 releases before inspection complete.
Denied: unauthorized role (mf_2d). Fixture mf_unauth_role_1 / negative MWO-009: operator attempts quality release. Role check enforced. 0 releases by unauthorized roles.
Denied: unauthorized plant (mf_2e). Fixture mf_unauth_tenant_1 / negative MWO-010: Plant B staff accessing Plant A records. Plant isolation enforced. 0 cross-plant access.
Denied: authority unavailable (mf_2f). Fixture mf_unavail_1 / negative MWO-011: MES unreachable. Work orders held, not completed. 0 completions without MES verification.
Denied: duplicate completion (mf_2g). Negative MWO-012: duplicate from retry. Deduplicated by WO reference and output lot. 0 duplicate completions.
Idempotency and duplicate detection (mf_3). Operation A: inspector prepares release draft for target MWO-001 using QMS disposition and MES work state, quality manager approves draft, key op:mf_A_001. Only after approval: ERP inventory updated with finished goods receipt and MES completion status marked (distinct effects, each verified independently by reading ERP inventory state and MES completion state). Logged. Replayed operation A with same key: rejected, 0 duplicate ERP receipts, 0 duplicate MES completion marks, prior log entry preserved. Operation B: inspector prepares release draft for distinct target MWO-002, quality manager approves, key op:mf_B_002. ERP and MES updated after approval. Logged. 2 of 3 proposals applied (A and B), 0 duplicate business effects in ERP or MES. Synthetic targets MWO-001 through MWO-005 used.
Ambiguous first response (mf_3b). Inspector submits release for MWO-003, key op:mf_A_003. Network interruption before acknowledgment. Before any possible repeat: check exact operation key op:mf_A_003 in durable decision log. Independently read current QMS disposition state, MES actual work state (completion, material consumption, lineage) and ERP inventory for finished goods and pending receipt operations. Verify all affected authorities and their operation state, not just ERP absence alone. Log found, ERP receipt committed AND MES completion marked: both effects confirmed, no repeat. Log found, ERP receipt committed but MES completion not marked (or vice versa): one of multiple effects already committed. Do not repeat the whole operation. Record partial state; production director (named manual reconciliation owner) investigates, inspects the contemporaneous ERP receipt, MES completion state and authoritative QMS disposition, and coordinates independently verified repair of the missing effect only. Before the corrective write, the person executing the correction must still hold the applicable plant-scoped role and permission, current authoritative QMS, MES and ERP versions must be confirmed, and no replay of the original request occurs. Quality manager gives final approval for the separately authorized correction, preserving the already committed effect. No write if scope, authority or version is stale, revoked or unknown. Log found, neither effect present or either pending: STOP. Durable record indicates attempted but QMS/MES/ERP disagree or show pending. Do not repeat. Production director investigates and reconciles. Log not found, ERP receipt or MES completion exists: effect exists without log. Do not repeat. Reconcile log without repeating. Log not found, ERP unambiguously confirms no receipt AND MES confirms no completion mark AND no pending AND no inflight in any affected system: only then may inspector verify current role, plant scope, QMS disposition, MES work state and inspection results, then resubmit with identical stable key op:mf_A_003 only after quality manager approval. Revoked permission: if inspector's plant scope or role was revoked after initial submission, fail closed, no repeat; escalate to current authorized inspector. If QMS, MES, ERP or current authority is unavailable, unknown or stale: no attempt, hold for reconciliation by production director. 0 duplicate ERP receipts, 0 conflicting inventory states, 0 duplicate MES completion marks.
Decision logging and access control (mf_4). Minimized write-once log: WO ID, output lot, inspector identity, quality manager approval, decision, timestamp, MES version, QMS disposition reference. No proprietary process recipes or formulations. Role-bound append-only access; retention owner is the production director; retention per organization and quality system requirements.
Staged restore (mf_5). After MES connectivity restored: reconcile authoritative QMS disposition state, MES actual work state, ERP current order and inventory commitments against current versions before restart. Prior stable version staged in truly private preview. Plant boundaries, permissions and committed log entries preserved. Already-committed ERP inventory updates from manual fallback preserved and reconciled against system records. Production director verifies data integrity. Quality manager verifies release workflow correctness against current QMS/MES/ERP state. Both approve before production restore. If MES remains unavailable after restoration attempt: capture minimal completion metadata securely (WO ID, output lot, material lots, timestamp), hold all ERP inventory commits, do not promise writes to unavailable MES. Named manual fallback during MES outage: production staff maintain paper-based completion and quality records with WO ID, output lot, material lots consumed, equipment used, inspection results and inspector signature, stored securely in the quality office; holds all ERP inventory commits; reconciles against QMS/MES/ERP records upon restore. No industrial controls write or safety certification performed during fallback.
Tablet and keyboard access plan (mf_6). On iPad 10th gen at 820 by 1180, quality inspector attempts 4 tasks: (1) review completion queue (expected: queue fits portrait viewport, 0 horizontal overflow), (2) open work order detail with lot genealogy, QMS disposition and inspection data (expected: genealogy tree scrollable with material lot links visible), (3) verify QMS disposition and MES work state (expected: disposition and work state panels accessible), (4) tap Release for Quality Manager Approval (expected: button visible without scrolling past genealogy; QA approval must complete BEFORE ERP inventory update). Expected errors if broken: genealogy tree truncated, disposition panel hidden, release triggers ERP update before quality manager approval. On desktop at 1280 by 800, keyboard-only quality manager attempts 3 tasks: (1) navigate work order list with arrow keys (expected: visible focus ring on each row), (2) open work order detail with Enter (expected: focus moves to detail panel with QMS/MES/ERP data), (3) approve or defer with keyboard (expected: decision controls accessible, status announced). Partial failure: if ERP inventory receipt is delayed after QA approval, the work order should show a pending-receipt indicator rather than claiming ERP confirmation; what remains uncertain is whether the pending-receipt 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.