Expert Tech Pilot provides manufacturing ERP, MES, and shop-floor integration consulting for plants whose business systems and production records do not agree. The work is shop-floor-to-ERP integration, not an ERP product implementation. ERP integration is often described as moving data. In a factory, it is closer to bookkeeping with physical consequences. A work order released to the floor, a material issue, a production completion, a scrap transaction, and a quality hold are all business events. If the integration posts the wrong quantity or posts it twice, inventory and cost are wrong even when every screen looks normal.
Who does what
| System | Primary responsibility | Should not be asked to |
|---|---|---|
| ERP | Orders, inventory, purchasing, cost, financial posting | Run a test sequence or hold high-rate process history |
| MES | Work-order execution, routing, WIP, genealogy, operator transactions | Replace the financial system of record |
| SCADA | Live process state, alarms, equipment history | Own work-order status or inventory |
| Test application | Measurement, method, limits, result | Decide financial posting or customer disposition |
| QMS / LIMS | Quality records, specifications, nonconformance, calibration | Schedule production or price inventory |
| SQL staging | Durable intermediate state for an integration | Become a second, undocumented system of record |
Real plants blur these lines. A small manufacturer may run MES functions inside the ERP; a large one may have several quality systems. The labels are less important than the agreement: for each field, one system is authoritative, and the others consume it.
MES, MOM, and the integration boundary
MES (manufacturing execution system) and MOM (manufacturing operations management) describe overlapping software categories. An MES usually runs work orders on the floor, tracks work in process, holds genealogy, and records operator transactions. MOM is the wider operations layer that can include MES, quality, maintenance, and performance functions. The ISA-95 model groups these under Level 3, between the control systems at Level 2 and the business system at Level 4.
Expert Tech Pilot integrates with the MES or MOM a plant already runs. This is MES integration consulting and MES ERP integration around the systems the plant already owns, not a product sale. That means moving work orders, completions, lot identity, and quality results between the operations layer and the ERP, test stations, SCADA, and SQL reporting. It also means building the interface an MES lacks when the platform does not expose one. What Expert Tech Pilot does not sell is a turnkey MES or MOM suite, a vendor product license, or a full operations system replacement.
The distinction matters during scoping. A plant that needs a new MES is buying a product and an implementation partner. A plant that has an MES but cannot get its data into the ERP, or cannot link a measurement to a production unit, needs integration work. The two engagements have different risks, vendors, and timelines.
Work orders, operations, and the identifiers that matter
An ERP work order is not a single number. It usually includes an item, a quantity, a routing, one or more operations, and a due date. A plant may split the order into batches, assign serial numbers, or create inspection lots. Each of those is a different identifier with a different scope.
| Identifier | Scope | Typical owner |
|---|---|---|
| Item / part number | The product definition | ERP item master |
| Work order | The quantity of an item to be produced | ERP |
| Operation | A step in the routing | ERP or MES |
| Batch / lot | A traceable quantity produced or consumed together | MES, ERP, or quality system |
| Serial | One individually tracked unit | MES or ERP |
| Sample | One measurement instance from a batch or unit | Test application or LIMS |
| Equipment | The machine or instrument that produced the result | Maintenance or asset system |
The integration should preserve these as separate fields. A common failure is a single "reference" string that concatenates the work order and batch, then has to be parsed downstream. It works until a separator appears in an identifier, or a batch is split, or someone needs to join on work order alone.
Validate at the boundary. Before the plant records a measurement or a completion, confirm that the work order exists, is released, and matches the item and operation. If the ERP is unavailable, the plant needs a defined cached or deferred behavior — not an optimistic assumption that the order is valid.
Material, lot, and batch relationships
Traceability is a graph, not a column. A finished batch consumes raw lots, may be split into several finished lots, and may be reworked into another batch. A recall question asks which finished units contain a given raw lot — the reverse direction of the production record.
The data model needs both directions:
- Consumption. Which lots, quantities, and work orders went into this batch or unit.
- Production. Which batch or unit was created, on which equipment, by which operation, at what time.
- Quality. Which measurements, inspections, and dispositions apply.
- Lineage through transformation. Splits, merges, rework, and scrap, with quantities that reconcile.
If the ERP records material issues at the work-order level but the plant records quality at the batch level, the integration has to define how those granularities relate. Pretending they are the same produces a genealogy that looks complete and cannot answer a real recall question.
Production tracking and work-in-process records
Production tracking answers a simple question at any moment. Where is this order, and how much of it is good? The record behind that answer is built from a sequence of operator and machine events, each tied to the work order, the operation, and the quantity.
A workable tracking model separates these events.
- Release. The work order and its operations become available to the floor, with the expected quantity.
- Start and finish. An operator or machine signals the start and end of an operation, with the equipment and time.
- Quantity reporting. Good, scrap, and rework quantities are reported against the operation, not inferred from a totalizer alone.
- Move and hold. Material moves between operations, and a quality hold blocks the next step until it is released.
- Completion. The final operation closes the order and hands the quantity to inventory or the next order.
Work in process is then a query over those events, not a manually maintained spreadsheet. The hard parts are the same ones that affect genealogy. A quantity reported twice inflates WIP. A completion posted before the final operation closes the order early. A hold that the floor cannot see lets material move when it should not.
Corrections belong in the model from the start. An operator will report the wrong quantity, and a machine will count a phantom part. The record needs a reversal or adjustment event with a reason and an audit trail, rather than an edit that overwrites history. The genealogy section covers the material relationships, and the measurement section covers the quality side.
Associating instrument readings with production work
A measurement record should carry the production identity at the moment it is created. The test application can receive the work order from the ERP or MES, scan a traveler, or read a routed barcode. Whatever the mechanism, the identifier should be validated before the result is stored.
The pattern that works is a small set of shared keys:
-- Illustrative measurement header
WorkOrderId nvarchar(32) NOT NULL
OperationId nvarchar(16) NULL
ItemId nvarchar(32) NOT NULL
LotId nvarchar(32) NULL
SerialId nvarchar(32) NULL
SampleId nvarchar(32) NOT NULL
EquipmentId nvarchar(32) NOT NULL
MethodId nvarchar(32) NOT NULL
MeasuredAtUtc datetime2(3) NOT NULL
ResultStatus tinyint NOT NULL
Illustrative key set, not a complete schema. The nullable lot and serial reflect different production models; the integration should not require both.
When the identifier is invalid, stop the measurement or store it in a quarantine state with the reason. Do not attach it to the most recent open work order because that is likely to be correct. "Likely" is how a quality record becomes indefensible.
API, database, or file
| Option | Strength | Limitation |
|---|---|---|
| Supported vendor API | Business validation, audit, upgrade path, vendor support | Rate limits, licensing, latency, partial failure behavior, API versioning |
| Documented staging table | Simple, fast, familiar to ERP teams | Requires an ERP-side process; can bypass validation; schema coupling |
| Read-only database view | Useful for reporting and reference data | No write path; schema can change; query load on the ERP database |
| File exchange | Works with legacy systems; easy to inspect | No transaction boundary; partial files; duplicates; manual recovery |
| Vendor connector / middleware | Prebuilt mappings and support | Cost, constrained mapping, another platform to operate |
The default should be the supported API. A direct write to an undocumented ERP table is not an integration strategy; it is a bet that the vendor will never change the schema or the business rules around it. When a staging table is the supported mechanism, use the vendor's documented process and let the ERP validate and post the record.
The platform landscape
The platforms below appear often in manufacturing environments. Which one a project runs, and what its deployment exposes, determines the integration design. That fit is established during discovery, not assumed from a product name.
Manufacturing ERP
Typical integration points: production orders, batch identification, inventory transactions, purchasing, work centers, cost data, and operational reporting.
MES and production execution
Typical integration points: work orders, work-in-process, batch and lot tracking, equipment measurements, downtime, operator transactions, and quality status.
These names are listed because they are common, not as a claim of certification, partnership, or delivered experience with each product. The verified manufacturing background is LabVIEW automated test systems, custom software and integration around ABB automation control systems, and the documented Zircoa work with SYSPRO job, batch, and composition context.
ERP, MES, QMS, LIMS, and warehouse connectivity
A plant rarely has one enterprise system. Quality records may live in a quality management system (QMS), laboratory results in a laboratory information management system (LIMS), and inventory in a warehouse management system (WMS). Each holds a piece of the record that production and finance need, and each exposes a different interface.
The approach is the same one used for the ERP. Confirm what the system exposes before promising a connection. Prefer a supported API or the vendor's documented staging process. Define which system owns the field, how the handoff is acknowledged, and what happens when it fails.
- Inventory handoffs. Receipts, issues, and returns posted to the ERP or WMS with a quantity that reconciles.
- Quality handoffs. Inspection results, nonconformance, and disposition status shared with the ERP and the production record.
- Status reporting. A read-only view for reporting that does not add load to the transactional system.
The claim here is limited to interface work around systems the plant already owns. Expert Tech Pilot does not implement every WMS, CMMS, or laboratory platform, and does not resell them. The SYSPRO work at Zircoa is documented in the case study and supports the job, batch, and composition integration described there. It is not a claim of a vendor partnership or a full-suite ERP implementation.
SQL staging and transaction states
A staging table is not a queue with a status column added later. It is the record of what the integration was asked to do and what happened. The state changes should be explicit, and a record should never move backward.
| State | Meaning | Next action |
|---|---|---|
| Received | Record stored, not yet checked | Validate identifiers, quantities, and required fields |
| Validated | Ready to post | Call the ERP interface or insert into the supported staging table |
| Posted | ERP accepted the transaction | Store the ERP document number and wait for reconciliation |
| Reconciled | Plant record and ERP record agree | Close; retain for audit |
| Failed | Validation or posting error | Fix, resubmit, or escalate with the error text |
| Dead letter | Retries exhausted | Manual investigation; never silently discard |
Store the request payload, the response, the timestamp, and the correlation identifier. When someone asks why a completion did not reach the ERP, the answer should be a row and an error message, not a log search across three servers.
A posting workflow, end to end
The following is an illustrative workflow. It uses a test operation, but the same pattern applies to any shop-floor transaction that must reach the ERP.
- ERP releases work order WO-24118 for 500 units of item A-1042, operation 30, final inspection.
- The test application retrieves or scans the work order and validates that the item and operation match the test method.
- Each unit is measured. The result record stores the serial, sample, measurement, limits, method, equipment, and UTC time.
- The application evaluates pass/fail. 497 units pass; 3 fail with recorded reasons.
- A completion transaction is staged with quantity 497 good and 3 scrap, plus the work order and operation keys.
- A .NET service calls the ERP API. The ERP returns a receipt document number; the staging row moves to Posted.
- A reconciliation job compares the ERP receipt quantity with the plant's counted good and scrap quantities. It marks the row Reconciled or raises an exception.
The failure cases are part of the design:
- Invalid work order. The scan returns a closed or unknown order. The test is blocked, or the result is stored as unassociated with a clear reason. It is not attached to the previous order.
- ERP unavailable. The completion stays in Validated. The operator sees that posting is pending. The plant does not re-key the transaction into a second system.
- Duplicate submission. The service uses the work order, operation, and completion sequence as an idempotency key. The ERP or the staging table rejects the second attempt as a duplicate.
- Partial acceptance. The ERP accepts 490 of 497. The reconciliation job detects the difference and opens an exception rather than overwriting the plant record.
- Quantity mismatch. The plant counts 500 units but the ERP order was for 498. The integration does not silently over-receive; it flags the discrepancy for a person to resolve.
Talk it through
Need production measurements connected to ERP jobs or batches?
Bring the work order, the traveler, or the posting that still depends on re-keying. You can discuss the exchange directly with the architect who would design it, including the failure path and reconciliation. Start with a free 40-minute session.
Discuss ERP IntegrationFailed transactions and data reconciliation
Every integration has failures. The difference between a reliable one and an unreliable one is whether the failure is visible, attributable, and recoverable.
- Visible. A dashboard or report shows pending, failed, and dead-letter counts by interface and by age. An alert fires when the oldest pending record exceeds the expected posting window.
- Attributable. The record stores the error returned by the ERP, the request that produced it, and the correlation identifier. "Posting failed" is not enough to fix anything.
- Recoverable. A failed record can be corrected and resubmitted without creating a duplicate. The retry path is tested, not theoretical.
Reconciliation is a scheduled comparison, not a hope. It checks quantities, document numbers, and status between the plant record and the ERP. The output is an exception list with an owner — not a report that says "all good" because it only compared rows that both systems already had.
System-of-record decisions
For each field, decide which system wins and how a change propagates. Common examples:
| Field | Likely owner | Integration rule |
|---|---|---|
| Work order quantity | ERP | Plant consumes; a change is an ERP event the plant must receive |
| Measured value | Test application / quality record | ERP receives a summary or status, not the raw measurement |
| Batch genealogy | MES or ERP, depending on the plant | Define the owner before building; do not maintain two full copies |
| Inventory quantity | ERP | Plant posts transactions; ERP calculates the balance |
| Equipment status | SCADA / maintenance system | ERP may receive downtime hours, not live state |
| Quality disposition | QMS | ERP receives hold/release status through a controlled interface |
A reporting copy is not a system of record. It can be the right place to query, but it should be rebuildable from the owner and clearly labeled as a copy. The moment two systems both accept edits and neither is authoritative, reconciliation becomes a permanent job.
The SYSPRO work at Zircoa
The documented Zircoa applications associate LabVIEW measurements with SYSPRO job number, batch number, and composition, then store results in SQL and support SPC and LIMS workflows. That is verified experience integrating shop-floor measurement software with SYSPRO production context — not a claim of a full SYSPRO implementation or of every SYSPRO module.
The Zircoa case study describes the applications and the data chain. It does not report quantified throughput or ROI.