In brief
Traceability is the ability to establish which raw material batches a finished goods batch was made from, on which line, when and with what inspection result, and which customers it went to. It works in two directions: forward, from raw material to customer, when you need to recall a product, and backward, from a complaint to its root cause. It relies on unique batch identification, recording events at key points in the process and connecting data from ERP, MES and WMS.
What traceability is and why you need it
Traceability has two sides. External traceability tells you which supplier a batch came from and which customer it shipped to. Internal traceability, known as batch genealogy, tells you what happened inside the plant: which raw material batches combined into which finished goods batch, on which machine and with which parameters.
The GS1 Global Traceability Standard describes a framework for building traceability systems that work across companies in a supply chain. In the food industry the obligation comes straight from the law: Article 18 of Regulation (EC) No 178/2002 requires a business to be able to identify who supplied it with a food or ingredient and which businesses it supplied its products to. In other industries, automotive for example, requirements are usually set by the customer in the contract and in the supplier audit.
Why it matters to a plant beyond the obligation:
- narrower recalls: when you know which batches contained the defective raw material, you recall those, not a whole month of production;
- faster complaint response: from the batch number on the label to the process parameters in minutes instead of days;
- root cause analysis: matching scrap against raw material batches and machines reveals patterns that reports do not show.
What to record: events and key data
The GS1 EPCIS standard describes supply chain events through five questions: what, when, where, why and how. The same scheme works well inside the plant. At each key point in the process you record an event:
| Process point | What to record |
|---|---|
| Raw material receipt | supplier, item, supplier batch, own batch number, date, incoming inspection result |
| Issue to the line | raw material batch, order, work center, quantity, time |
| Production and batch merging | input batches, output batch, machine, shift, key process parameters |
| Quality inspection | batch, result, decision (released, on hold, rework) |
| Packing | finished goods batch, logistic units, labels |
| Shipping | customer, delivery document, batches and quantities |
The most common gap is the “production and batch merging” point. Without it, external traceability works but internal traceability does not: you know who received a finished goods batch, but not what went into it.
Where the data lives: ERP, MES and WMS
| System | What it is responsible for in traceability |
|---|---|
| ERP | suppliers, customers, items, receipts and shipments, batch holds |
| MES | batch consumption per order, genealogy, process parameters, in-process inspection results |
| WMS | locations, stock movements, logistic units |
| Quality system | complaints, nonconformities, batch decisions |
The split of responsibilities between ERP and MES is described in the article MES and ERP. Two typical data problems:
- Consumption calculated from the BOM after the fact. ERP backflushes raw material by the standard, not by the batch actually scanned. Stock balances, but genealogy does not exist.
- Mixing in tanks and silos. When several batches of granulate go into one silo, you need an assignment rule, for example delivery order and a time window, and you need to record it in the system.
Consistent items and business partners across all systems are a prerequisite, which we cover in the article on master data management.
Identification: labels, codes and scanning
Traceability is only as good as batch labeling. A few rules from the shop floor:
- Every batch gets a unique number at receipt or production, and the supplier batch is stored alongside it, not instead of it.
- A label with a barcode or DataMatrix carries the item, the batch number and the date. GS1 standards give you a common format that customers and carriers understand too.
- A scan at every movement instead of typing the number on a keyboard. Manual retyping is the main source of errors in genealogy.
- Data to the customer electronically. Batch numbers in the advance shipping notice sent over EDI let the customer close the chain on their side.
Rework, returns and scrap that goes back into the process need particular attention. A batch reworked after quality inspection should get a new number with a recorded link to the original batch, and regrind going back into the injection molding machine has to be recorded like any other raw material. Without that, genealogy breaks exactly where you most often look for the cause of a complaint.
Testing traceability: a mock recall
A traceability system is tested with an exercise, not a documentation review. From time to time, pick a raw material batch and answer three questions: which finished goods batches it ended up in, where those batches are now and which customers received them. Time it and note where you had to go to paper or ask people. Then do the same in the other direction: from the batch number on a complaint to the raw materials, the machine and the parameters.
Typical findings from a first exercise are missing scans at changeovers, batches without a production date and customer returns accepted without a batch number. That is how quality complaint handling at a furniture manufacturer was put in order. Retyping complaints and documents into the system can be taken over by an AI Worker, as we describe in the article AI Worker: complaints and returns.
Questions and answers
What is the difference between traceability and batch genealogy?
Batch genealogy is the internal part of traceability: a record of which input batches made up an output batch in the plant. Traceability also covers the external side, meaning suppliers and customers. You can have good external traceability without genealogy, but then a recall has to cover every batch from the period in question, not only those that contained the defective raw material.
Is traceability mandatory?
In the food industry, yes: Article 18 of Regulation (EC) No 178/2002 requires traceability of suppliers and recipients. In other industries the obligation usually comes from rules for specific products, from customer requirements or from the quality system the plant applies. Even where nobody requires it, traceability reduces the cost of a recall and shortens complaint analysis.
How quickly do you need to identify batches in a recall?
It depends on the industry and on customer requirements, which are often written into the contract or checked in an audit. A good practice is to measure your current time with a mock recall and set a target with the quality department. If the answer requires going through paper job cards, the first step is electronic recording of batch consumption on the line.
Is ERP enough without MES?
For external traceability, usually yes, because ERP records receipts and shipments with batches. For genealogy, ERP is enough only when batch consumption per order is scanned on the shop floor and posted in ERP as it actually happened, not calculated from the BOM. With multiple shifts, batch merging and the need to record process parameters, you usually need MES.