Why projects stall here
MES and ERP run at different time resolutions. ERP changes when a transaction posts; MES changes when material and machines actually move. That lag cannot be removed. The goal of interface design is not eliminating it but making the resulting difference explainable.
The most common failure is managing the same data on both sides. If items exist in both and both can edit, they will diverge.
Procedure
Following the order matters more than perfecting each step.
- STEP 01
Assign an owner per data element
Items, BOMs and customers to ERP; work history and equipment data to MES. One system of record each. The non-owning side reads and cannot edit.
- STEP 02
Decide direction and frequency
Tabulate which data flows which way and when. Separating what genuinely needs to be real time from what is fine daily simplifies the build considerably.
- STEP 03
Align the result definitions
Make production quantity mean the same thing on both sides. Differing treatment of trial, rework and scrap means the numbers will not agree however well you connect them. Document it.
- STEP 04
Design error handling
Decide how transmission failures, duplicates and after-the-fact corrections are handled. Without a procedure for correcting an already-transmitted result, this will become an operational problem.
Common mistakes
Patterns that recur in implementation discussions.
Common mistakeLeaving the same data editable on both sides
The most common and longest-lived problem. Pick one owner and make the other read-only.
Common mistakeDefaulting to real-time interfaces
Not all data needs to be real time. Unnecessary real-time links only add failure points.
Common mistakeSkipping agreement on result definitions
You connect, then come back to "the numbers do not match". Agreement precedes integration.
Common mistakeProviding no correction procedure
Floors do need to correct mis-entered results. Without a procedure, someone ends up editing the database directly.
Checklist
Confirm these are in place before starting.
- A table assigns a system of record to each data element
- The non-owning side is configured read-only
- Direction and frequency are defined per element
- Production quantity is defined identically on both sides
- Handling exists for transmission failure and duplication
- A documented procedure exists for correcting results after the fact
Quick AnswersDesigning an MES-ERP interface — frequently asked
Questions that come up during evaluation.
Can we add MES without replacing ERP?
In most cases yes, using whichever of the ERP's interfaces, database integration or file exchange is available.
What interface frequency is appropriate?
It varies by element. Material movement affecting inventory should be frequent; results for cost closing are often fine daily.
When numbers disagree, which do we trust?
Decide in advance. Typically MES for floor execution data and ERP for accounting outcomes, with the difference explainable either way.
Could we just run both without integrating?
You can, at the cost of entering the same data twice. Double entry produces errors and lag, and you end up reconciling anyway.
How does this play out in your plant?
Equipment mix and current workflow determine how the procedure is adapted.
Request a site survey