MES should own real-time production execution, work-center feedback, genealogy, quality events, and material movement; ERP should own orders, finance, purchasing, enterprise inventory, and long-range resource planning [S1][S2][S4].
The practical boundary is functional, not merely technical: ERP plans and accounts for the business transaction, while MES orchestrates the physical manufacturing transaction and returns confirmed results [S1][S5].
Function Allocation by Manufacturing Layer
ISA-95 places ERP at Level 4 and MES at Level 3, where MES is a pillar of manufacturing operations management, or MOM, and executes manufacturing plans between enterprise planning and plant-floor automation [S1]. ERP functions are typically transaction-driven by sales orders, supplier invoices, and payroll, and its manufacturing responsibilities concentrate on pre-production planning and post-production analysis [S1].
ERP should therefore maintain the master bill of materials, product master, demand, standard operating procedures, change orders, purchasing, warehouse locations, financial ledgers, accounts payable and receivable, and the planned production order [S1][S3]. MES should translate that released order into routings, work assignments, machine or operator activities, production confirmations, deviations, quality holds, and completion status [S4][S8].
A data logger can support evidence collection at the production layer, but its records still need MES workflows to turn measurements into order status, exceptions, quality dispositions, and genealogy [S2].
Decision Criteria for MES and ERP
The main options differ across decision time horizon, operational granularity, source of truth, and integration effort. ERP integrates finance, purchasing, inventory, human resources, and supply-chain functions through a central database [S1][S2]. MES works at shop-floor resolution, collecting production information from sensors, barcode scanners, machines, and operator inputs across the production cycle [S2][S4].
Cost and lifetime cannot be expressed as universal percentages because the research provides no comparable acquisition or operating-cost figures. The defensible comparison is scope-based: ERP carries the wider financial and administrative configuration burden, while MES carries the heavier effort in integrating physical production equipment, defining exception workflows, and preserving event-level traceability [S2][S3].
Integration effort is lowest where ERP already supplies structured production orders and MES returns confirmed quantities, consumption, status, and quality exceptions. It rises when one platform must cover both enterprise planning and detailed shop-floor workflows, or when production data must be reconciled against inventory and finance [S3][S7].
Where MES Adds Measurable Operating Control

MES should own production data collection, live status, genealogy, and shop-floor exceptions because it can monitor raw-material transformation through intermediate work and finished goods [S2][S3]. Typical MES functions include real-time production monitoring, work-order execution, component genealogy, quality records, material consumption, operator performance, and cause analysis for downtime and bottlenecks [S2][S4].
Traceability is a decisive MES responsibility in regulated production. MES can link raw materials and components to work orders, collect production and quality data, and preserve genealogy through the production cycle, while ERP supplies the related order, BOM, and inventory transactions [S2][S3]. For regulated food, beverage, and pharmaceutical operations, the MES layer is where shop-floor evidence supports traceability and quality compliance [S2].
MES is for plants that need execution visibility, exception management, quality control, and production-level feedback. It is not a substitute for enterprise finance, payroll, purchasing, or statutory inventory accounting, because those belong to ERP functions [S4][S6]. An electronic load can form part of a controlled production or test cell, but load events still need MES assignment and result tracking before they become execution records [S2].
ERP Scope, Planning, and Financial Control
ERP should remain the authoritative commercial and resource-planning layer because it integrates finance, procurement, supply chain, warehousing, sales orders, human resources, and production planning in one central data structure [S2][S3]. Its production role includes product strategy, reference product information, demand, master data, BOMs, SOPs, change orders, inventory, and planning of what should be made [S1].
ERP is for finance, procurement, supply-chain, order-management, and enterprise-resource decisions. It is not the preferred owner for machine-level production feedback, operator task sequencing, real-time genealogy capture, or shop-floor exception disposition [S4][S8].
ERP is a poor replacement for a dedicated MES in plants with batch records, regulated genealogy, operator-level routing, or in-process quality controls, because ERP is described as lacking MES-specific manufacturing capabilities [S3]. Conversely, MES should not attempt to become the general ledger, procurement ledger, payroll system, or corporate demand-planning platform [S1][S3].
Integration Contracts That Prevent Data Conflicts

ISA-95 defines ERP at Level 4 and MES at Level 3, creating a directional rather than interchangeable architecture: ERP passes released business and production plans to MES, and MES returns execution status and results [S1]. Integration should use explicit transactions for production orders, BOMs, routings, material issues, production confirmations, scrap, downtime, quality events, and finished-goods receipt [S4][S5].
A defensible ownership rule assigns authoritative creation to the system that owns the business meaning, while the other system may hold a read-only reference. ERP should own the commercial order and planned BOM; MES should own the executed routing, actual genealogy, quantity confirmed, and process deviation [S1][S4]. ERP may display a summarized MES completion state, but it should not infer that a batch passed quality merely because equipment stopped running [S2][S4].
The deeper integration pattern for ERP-to-MES data exchange is covered in Connect ERP and MES with ISA-95 and B2MML. The practical acceptance test is simple: an order released in ERP should create the correct MES execution context, and a confirmed MES event should reconcile back to ERP inventory, cost, and delivery status without manual re-keying [S1][S5].
Use Cases, Constraints, and Failure Modes
Discrete manufacturing with repeatable routings is a strong MES use case because MES can manage work orders, resources, material consumption, genealogy, and real-time production performance while ERP manages the order and supply chain [S4][S8]. Process and batch manufacturing require MES functions to capture recipe or batch execution context and process events, which makes ERP-only deployment inadequate for detailed physical traceability [S2][S4].
High-mix, low-volume plants should use MES for job-level sequencing, changeover visibility, and operator instructions, but only after validating that each part, traveler, operation, and material lot has a stable master definition [S2][S4]. The research does not provide a universal machine, sensor, or gateway count; any project that fixes those quantities before mapping the physical process risks over-specification.
Common failure modes are duplicated masters, conflicting inventory definitions, manually re-keyed production confirmations, and ERP screens that display only a guessed completion percentage. These arise when ERP and MES both act as the system of record for the same transaction [S1][S3]. The other failure is deploying ERP without an adequate MES layer, leaving physical execution, quality, and genealogy outside the transaction system [S2][S5].
Implementation Sequence and Acceptance Criteria

Start with a functional ownership matrix covering 4 core domains: ERP for finance, procurement, supply chain, and planned resources; MES for production execution, material consumption, genealogy, and quality; automation for control and acquisition; and an optional data logger or historian for time-series evidence [S1][S2]. Do not assign a feature to ERP or MES merely because the other platform can technically offer it.
Test at least 6 transaction flows: sales order to released production order, BOM and routing release, material issue and consumption, work confirmation, quality deviation or release, and finished-goods receipt with ERP cost or inventory update [S1][S4][S5]. Record ownership, identifiers, timestamps, failure handling, and reconciliation rules for every flow [S1][S7].
For a plant expanding traceability, the specific implementation pattern in Food MES Lot Tracking for Faster, Targeted Recalls demonstrates why lot identity and event capture belong at the MES layer. The closing acceptance signal is bidirectional consistency: ERP plans and accounts for the order, MES proves what physically happened, and both systems agree on status, quantity, inventory, and exceptions [S1][S4].