Before integrating MES and ERP in a regulated, brownfield environment, you need alignment on core master data such as materials, BOMs, routings, resources, work centers, locations, customers, suppliers, units of measure, and status codes. Gaps, duplicates, and conflicting definitions must be resolved and governed, or the integration will propagate errors at scale and undermine traceability and validation.