ERP - MES Integration Approach

How EZ-MES connects to your ERP system: a limited, well-defined set of integration points, with EZ-BRM as the integration layer.

Approach

A clear separation of responsibilities

When integrating ERP and MES, Workfloor follows a simple and proven principle: treat the MES as a black box with a limited, well-defined set of integration points.

This approach minimizes complexity, reduces coupling between systems, and makes integrations easier to maintain and evolve over time.

In this example, we describe a typical integration between EZ-MES and Microsoft Business Central (BC), using EZ-BRM as the integration layer.

Integration layer

The role of EZ-BRM

EZ-BRM acts as the communication layer between ERP and MES. It exposes a set of purpose-built APIs that allow ERP systems to exchange only the information required for execution, without exposing internal MES complexity.

Through EZ-BRM, ERP systems can push data into MES and retrieve execution updates in a controlled and predictable way.

ERP system

e.g. Business Central

Item masters (part definitions)

Production orders

Material receipts

EZ-BRM

API integration layer

Controlled API calls

Business logic & rules

EZ-MES

Execution core

Execution status

Completion notifications

Estimated completion

Inventory quantities

ERP system

Financials & accounting

Master data

Data flow from ERP to MES

Using Business Central as an example, the ERP system is responsible for defining and owning the commercial and financial master data. Through EZ-BRM APIs, Business Central can provide the following information to EZ-MES:

Part definitions (item masters)

Definitions for incoming materials, raw inventory, and finished goods.

Production orders

Sent to MES as Work Orders, triggering production flows for Raw Material Inventory (RMI) or Finished Goods Inventory (FGI).

Material receipts

When ordered materials are received in ERP, corresponding inventory items are created in MES based on the part definitions.

In this model, Business Central remains the system of record for part definitions, BOMs, and production orders.

Execution data

Execution feedback from MES to ERP

While ERP plans and finances production, MES executes it. EZ-MES provides real-time and historical execution data back to ERP through EZ-BRM APIs. This includes:

Production order status updates

ERP can request updates at any time, or receive them on a scheduled basis (for example, daily).

Estimated completion information

Progress updates and estimated completion per item on a Work Order.

Completion notifications

MES notifies ERP when items on a Work Order are finished.

Once completion is reported, Business Central performs material backflushing based on the BOM, ensuring accurate financial accounting.

Ownership

Inventory & financial ownership

In this integration model:

  • ERP owns all financial data
  • ERP owns part definitions, BOMs, and production orders
  • MES owns execution, routing, and serialization

At regular intervals, inventory reconciliation is performed to keep ERP and MES aligned. EZ-MES provides dedicated APIs to retrieve current material quantities, ensuring both systems stay synchronized.

Manufacturing details

Why routing and serialization belong in MES

Certain manufacturing details are intentionally managed in MES rather than ERP:

Routing

Business Central routings are not required. Production flow is defined in MES using Flow Definitions, which consist of detailed Step Definitions. MES steps provide a much higher level of operational granularity than typical top-down ERP systems.

Serialization & lot tracking

Serialization of parts and lots is fully handled by MES, where real-time execution and traceability are required.

The result

A clean, scalable integration

By clearly separating planning and financial control (ERP) from execution and traceability (MES), this integration approach delivers:

Lower integration complexity

Clear ownership of data

Better scalability and maintainability

Accurate financial accounting

Detailed, real-time execution visibility

This makes Workfloor and EZ-MES easy to integrate into existing ERP landscapes, without forcing ERP systems to manage shop-floor complexity.