1.4 Master data model + SSOT rules (BOM/routing/resources)
Master Data functions as the executable code of the factory. If the Bill of Materials (BOM) or Routing contains an error, the MES will unknowingly automate the production of a defect. Therefore, treat Master Data not merely as static documentation, but as a rigid configuration set that requires careful version control, validation gates, and data integrity checks.
Canonical master data entities
Section titled “Canonical master data entities”A production process relies on four distinct data entities. Each entity must have a unique immutable identifier (Primary Key) to prevent ambiguity.
1. Bill of materials (BOM)
Section titled “1. Bill of materials (BOM)”- Definition: The hierarchical list of components and raw materials.
- Primary Key: PartNumber + Revision (e.g. PCBA-1001-Rev02).
- Constraint: A BOM should not be modified in place. Any significant change generally requires a new Revision ID to maintain traceability.
2. Routing (bill of labor)
Section titled “2. Routing (bill of labor)”- Definition: The sequential list of operations, capable work centers, and standard times.
- Primary Key: RouteID + Revision.
- Constraint: Every Operation Step must map to a valid Resource Type.
3. Resources (work centers)
Section titled “3. Resources (work centers)”- Definition: Physical assets (Machines, Lines, Benches) or Logical groups (Test Stations).
- Primary Key: AssetID (Physical) or ResourceGroupID (Logical).
- Constraint: Resources must have an Active / Maintenance / Decommissioned state flag.
4. Recipes / programs
Section titled “4. Recipes / programs”- Definition: Machine-specific files (PnP placement files, Reflow profiles, ICT test scripts).
- Primary Key: ProgramName + Checksum (MD5/SHA256).
- Constraint: The MES should verify that the machine loaded the exact program specified in the Routing before processing begins.
Pro-Tip: Decouple the Engineering BOM (EBOM) from the Manufacturing BOM (MBOM). Engineering designs by function; Manufacturing builds by assembly step. The MES consumes the MBOM.
Synchronization logic
Section titled “Synchronization logic”The integrity of the system depends on the proper alignment of these entities. Consider the following logic to enforce the “Digital Triad” (BOM + Route + Work Instruction).
- When a BOM Revision increments (e.g. Rev A to Rev B), the system should flag the associated Routing for review, as new parts frequently necessitate changes to the assembly process.
- When the active Work Instruction Revision does not match the Active Routing Step Revision, the system should block the operation to prevent building to obsolete prints.
- When the Recipe Checksum currently loaded on the machine does not match the approved Checksum stored in the MES Master Data, trigger an alert or interlock to halt the process until verified.
Lifecycle state machine
Section titled “Lifecycle state machine”Data typically matures through defined states. Implementing a State Machine helps prevent the premature or unauthorized usage of data on the shop floor.
State definitions
Section titled “State definitions”- Draft: Under construction. Visible to Engineers only. Action: Block from Production Orders.
- Pending Approval: Locked for editing. Awaiting QA/Production Manager signatures.
- Released (Active): The Single Source of Truth (SSOT). Available for scheduling.
- Obsolete: Legacy data. Action: Block from new Orders. Retain only for historical genealogy.
Transition rules
Section titled “Transition rules”Data transition rules
Section titled “Data transition rules”- When the State is set to “Released,” the record should be locked as Read-Only.
- When a modification is required on a Released record, the system should encourage the creation of a new Revision (Rev N+1).
- When a critical quality issue is detected, authorized personnel have the ability to force the State to “Hold” or “Obsolete” to prevent further use.
Drift controls & reconciliation
Section titled “Drift controls & reconciliation”Over time, the ERP (Financial view) and MES (Floor view) will drift apart without active policing. Implement these automated controls to detect and block drift.
1. Blocking conditions
Section titled “1. Blocking conditions”- Checksum Mismatch: Before releasing a Work Order, the system should calculate the hash of the combined BOM and Routing. If the calculated hash of the Order does not match the hash of the approved Master Data, flag or quarantine the Order for review.
- Ghost Resources: If a Routing specifies a Resource (e.g. Resource_A), but that Resource is currently flagged as “Decommissioned,” the system should restrict scheduling.
2. Reconciliation reports
Section titled “2. Reconciliation reports”Run a nightly comparison job between ERP and MES databases:
- Orphaned Parts: Items existing in MES BOMs but deleted/inactive in ERP.
- Unit of Measure (UoM) Conflicts: ERP uses “Each”, MES uses “Meters”. Action: Flag for manual correction.
Change control: ECO & flushing strategy
Section titled “Change control: ECO & flushing strategy”Engineering Change Orders (ECO) naturally introduce some risk. It is beneficial to define exactly how a change enters the production stream to avoid mixing revisions unintentionally.
Effective date logic
Section titled “Effective date logic”- Immediate: Stop line. Purge all WIP. Setup new revision. (Use only for Safety/Critical Quality).
- Rolling (Flush): Allow current WIP to finish on Old Revision. Start new Orders on New Revision.
WIP compatibility logic
Section titled “WIP compatibility logic”- When a change affects Form, Fit, or Function, it is usually necessary to purge the existing WIP or route it for documented rework.
- When a change is primarily limited to documentation, you may safely allow the existing WIP to complete its normal routing.
Versioning syntax standard
Section titled “Versioning syntax standard”Ambiguity can hinder traceability. Adopting a clear syntax helps distinguish prototype data from mass production data.
- Pre-Production: Use Decimal or Alphanumeric (0.1, 0.2, A, B).
- Mass Production: Use Integers (01, 02, 03).
- Rule: A change in a child component (Part A → Part B) should ideally force a revision increment of the parent assembly.
Final Checkout: Master data model + SSOT rules (BOM/routing/resources)
Section titled “Final Checkout: Master data model + SSOT rules (BOM/routing/resources)”| Category | Metric / Control | Threshold / Rule |
|---|---|---|
| State | Production Gate | Only “Released” state is executable. |
| Integrity | Immutability | Released records are Read-Only (No “Edit”, only “Revise”). |
| Alignment | Triad Check | BOM + Route + WI revisions must match. |
| Drift | Nightly Reconciliation | 0 Orphaned Parts; 0 UoM conflicts. |
| Recipes | Machine Control | Recipe Checksum in MES = Recipe Checksum on Tool. |
| ECO | WIP Handling | Defined “Flush” vs “Purge” strategy for every change. |
| Access | Approvals | Min. 2 Signatures (Eng + Quality) to Release Master Data. |