Batch (lot) traceability is the ability to trace in both directions which raw material batches, which supplier, and which production order a product batch was made from, and which customers it was shipped to. ERP builds this chain by linking a batch number to every material movement, from goods receipt to shipment. As a result, in the event of a quality issue, all affected batches and customers can be listed within minutes.
For pharmaceutical, food, and chemical manufacturers, traceability is not a choice but a regulatory requirement. The real test comes at the moment of a recall: answering this question with paper records and scattered Excel files can take days. In this article, we explain the fundamentals of batch traceability and how end-to-end tracking from raw material to shipment is built with ERP.
Fundamentals of Batch Traceability
1. Backward and Forward Traceability
Backward traceability starts from a finished product batch and leads to the raw material and packaging batches used and to their suppliers. Forward traceability, in turn, starts from a raw material batch and finds all intermediate and finished products in which that batch was used, as well as the customers they were shipped to. When a supplier reports a problem with a raw material batch, forward tracing comes into play; in the case of a customer complaint, backward tracing does.
2. What Information Should a Batch Record Contain?
Every link in the traceability chain relies on a complete batch record:
- Internal batch number and supplier batch number,
- Manufacturing and expiration dates,
- Quality status: quarantine, approved, or rejected,
- Quantity, unit, and warehouse location,
- Analysis results and the supplier certificate of analysis.
Quality status is a critical field; a batch in quarantine must not be released to production or shipment. The quality control module manages this status based on the analysis result.
3. Regulatory Expectations
In food, the EU's General Food Law No. 178/2002 requires every business to know its supplier and its customer under the "one step back, one step forward" principle; in Türkiye, Law No. 5996 also makes traceability mandatory. In pharmaceuticals, GMP requires the complete production history of every batch; in addition, products with QR codes are tracked at the box level through the Drug Tracking System.
A traceability system is tested on the day of a recall. A chain that has not been tested through drills before that day is only as strong as its weakest link.
How Is End-to-End Batch Tracking Built with ERP?
4. Creating a Batch at Goods Receipt
The chain starts at goods receipt. An internal batch number is created for each incoming material, the supplier batch number and expiration date are recorded, the batch is automatically placed in quarantine, and it is put away in the warehouse with a barcoded label. Inventory management and warehouse management track the batch at the location and quantity level.
5. Batch Consumption in Production and Genealogy
When materials are issued to a production order, the system records which batch was consumed and in what quantity; it suggests batches according to the FEFO (first expiry, first out) rule. The finished product batch produced is linked to all consumed batches, creating a batch genealogy tree. Production management establishes this relationship automatically. Rework, blending, and batch splitting are the points where the chain most often breaks: when a semi-finished batch is split into two different finished products, or when a returned product is reworked, the relationship between the new batch and the old batch must always be recorded. Scrap and sample withdrawals must also be deducted on a batch basis; otherwise, the batch quantity balance will not match, and unexplained differences will emerge during audits. A reconciliation report comparing the input and output quantities of each batch at the end of production makes these risks visible. For detail at the step and equipment level, you can refer to our article on traceability with EBR.
6. Shipment and Recall Drill
At shipment, which batch went to which customer with which delivery note is recorded, and the chain is completed. The system should then be tested with regular recall drills:
Step Information queried in ERP
Source batch The problematic raw material batch and its supplier
Affected products Production orders that consumed this batch and finished product batches
Inventory status Quantities remaining in the warehouse and blocks
Customers Shipped quantities, dates, and contact information
For details on the inventory side, see inventory management with ERP, and for system selection, see our ERP selection checklist.
What is the difference between a batch number and a serial number?
A batch number identifies a group of products manufactured together under the same conditions, while a serial number identifies a single product unit. In pharmaceuticals, every box is assigned a serial number via the QR code, and the box's batch number is also included in the QR code.
How often should a recall drill be conducted?
It is generally recommended at least once a year; many food safety standards and customer audits expect this. In the drill, the time it takes to list the affected batches and customers completely is measured.
Is ERP alone sufficient for traceability?
For batch-level material movements, it is often sufficient. If equipment, process parameter, and operator detail are required, ERP needs to work integrated with MES or EBR, and with WMS for in-warehouse address detail.
Conclusion: End-to-end batch traceability starts with the batch record created at goods receipt, turns into a genealogy tree through batch consumption in production, and is completed with the shipment record. Centra ERP builds this chain together with WMS, EBR, and LIMS on the Konektom platform. To evaluate traceability together at your food, chemical, or pharmaceutical facility, request information.