Clearly assign version ownership and responsibility for transfers between ERP and MES
Routing versions need an authoritative business source. If routings are maintained in the ERP system, the MES should be able to identify the transferred version unambiguously and reference it without modification. If, however, shop-floor information such as machine parameters or digital work instructions is maintained in the MES, responsibility must be defined for each data area. What matters is not that all content comes from one system, but that no field can be overwritten independently by both systems. A responsibility matrix should therefore specify where data is maintained, the direction of transfer and which additions are permitted.
The interface must transfer more than the routing number and change date. Unambiguous mapping requires a stable version identifier, the business scope of applicability and the relationships between operations. Plant-specific variants, for example, must not be merged simply because they share the same routing number. If a routing references separately versioned documents or parameter sets, the transfer must also map their specific versions unambiguously. A reference to whichever version is current is not sufficient.
For the technical transfer, companies must define how the MES determines that a version is complete and consistent. If header data, operations and references are transferred separately, incomplete intermediate states must not appear as usable routings. Defined rules are also needed for repeated or delayed messages: retransmission must not create a duplicate, and an older message must not overwrite a newer version. The acknowledgement should distinguish between technical receipt and successful acceptance for operational use; missing references or invalid content must be visible as errors that can be acted on.
- Document data ownership for each object and field, including MES-specific additions and their transfer back to the source system.
- Map version identifiers and scopes of applicability unambiguously across both systems; local internal keys alone are not sufficient.
- Make related routing data and referenced versions available for use only after checking completeness.
- Display interface errors with the relevant routing reference, the reason for the error and the responsible role, rather than recording them only in a technical log.
Define when an order is bound to a routing version
The binding point determines which routing is authoritative for a production order. Companies should define a clear event for this, such as order creation, release to production or the first execution of an operation. Early binding provides a stable planning baseline, but with long lead times it may retain a routing that has since become outdated. Later binding allows more recent planning versions to be considered for longer; until then, however, the operation sequence, resource requirements and work instructions remain provisional. The deciding factor is when production needs reliable instructions and preparatory activities begin to depend on them.
Technically, binding must mean more than the MES querying the latest routing version whenever an order is opened. The order needs a permanently stored link to an unambiguously identifiable version, or an immutable order-specific planning baseline. Referenced work instructions and inspection characteristics must also have an identifiable version unless they are already included in the routing version. Otherwise, the version number may remain unchanged while the execution instructions actually displayed change unnoticed.
Companies must also define which date determines the applicable version: the planned production start, the release date or another date justified by business requirements. Once binding has taken place, rescheduling must not automatically trigger a new version selection. For split orders, it must also be clear whether sub-orders inherit the bound version or are assessed separately before their own binding point. These rules belong in the functional specification so that planning changes do not unintentionally alter execution instructions.
Distinguish between changes to operations that have not started, have started or are complete
Whether a routing change can be adopted must be decided for each operation and, where necessary, each partial quantity, rather than solely on the basis of order status. An operation that has not yet started is not automatically free of dependencies: material may already have been staged, a tool set up or a downstream resource scheduled. If the sequence, material requirements or processing parameters change, these preparations must be reviewed and adjusted where necessary. It must also be established whether the output of the preceding operation meets the new prerequisites.
For operations that have started, the existing execution instructions should remain in effect until a changeover takes place under defined operational rules. A new standard time needs different treatment from a changed process sequence or inspection specification. If the change can only be applied safely from the next workpiece onwards, a clear distinction is needed between the quantity already processed and the remaining quantity. For batches or continuous processes, an interruption at a defined changeover point may be necessary instead. The MES must be able to represent these boundaries without retrospectively assigning actual values already recorded to the new specification.
A routing change must not retrospectively make completed operations appear as though they were carried out under the new specification. If the change creates a need for additional action, this must be represented as a separate rework or inspection step. The original execution record must be preserved. For subsequent operations that have not started, it must also be clarified whether they can proceed using the existing output or require additional work first. This avoids either blocking a change across the entire order or applying it to all remaining steps without review.
- Not started: check preparations and prerequisites before new instructions take effect for the operation.
- Started: define an operationally acceptable changeover point and distinguish processed quantities from the remaining quantity.
- Completed: preserve the original execution record; handle additional requirements as separate work steps.
- Across operations: check whether changed downstream steps can be carried out using the intermediate products already produced.
Approve version changes and document their impact traceably
A version change requires business approval covering a clearly defined scope of change. To support this, the MES should make the differences between the existing and proposed order versions visible, and identify the affected orders and potential consequences for execution and inspection. Manufacturing engineering assesses technical correctness; production and quality assurance are involved according to the impact. A two-person approval process is particularly useful when changes affect inspection specifications, safety-related instructions or quality-critical process parameters. If the reviewed scope is subsequently adjusted, the existing approval must either become invalid or require reconfirmation.
Documentation must provide more than a timestamp for the version change. It should bring together the previous and approved versions, the reason for the change, the people responsible and the decision on identified impacts. Examples include replaced work instructions, required training or production documents that need to be generated. The key requirement is the ability to reconstruct which instructions were actually valid during a specific production step. A reference to the current routing is not sufficient; the content in effect at the time must remain permanently traceable.
Business approval and technical implementation must be evidenced separately. An approved change is not effective simply because someone has granted approval. The MES should document when the change was actually activated and whether the required follow-up actions are complete. If, for example, an updated instruction cannot be made available at the workstation, there must be a visible exception status and a responsible role to resolve it. Reversing a change must also be recorded as a separate decision, with a reason and a reference to the original change, rather than overwriting its history.
Validate MES suitability with realistic test cases
To validate suitability, companies should prepare a representative production order with several operations, existing production confirmations and a targeted routing change. Testing should use the intended ERP–MES interface and standard user interfaces, not direct database modifications. The initial data, user actions and expected results for each test case should be documented in advance. What matters is not simply whether the MES displays a new version, but whether order processing, operator guidance and production confirmations continue to work consistently afterwards.
Tests at the timing and technical boundaries of change adoption are particularly revealing. These include simultaneous user actions and interrupted or repeated transfers. The following cases should be run in the test system using clearly distinguishable versions:
Acceptance evidence consists of a test record and the associated system evidence, such as interface messages, displayed work instructions and generated production confirmations. Deviations are assessed according to their operational consequences: a misleading operator display requires different treatment from a purely cosmetic display discrepancy. Fixes must be retested using the same initial data. This also creates a reusable regression test for later MES updates and integration changes.
- Deliver a change message twice: the MES must not create duplicate operations or unintentionally apply the change again.
- Transfer change messages in reverse order: an older version must not silently replace a newer version already adopted.
- Start an operation while the change is being processed: the outcome must comply with the defined conflict rule and must not leave a mixture of versions.
- Interrupt the connection during change adoption and then restore it: the resulting order version must be complete and unambiguously identifiable.
- Continue using an operator view that was already open before the change: outdated instructions must be handled visibly before further processing steps are allowed.