ERP news, guides and events

Food & Beverage ERP

Lot Traceability and Mock Recalls in Food ERP

When a customer reports a problem with a lot, you need to know within hours which ingredients went into it and where every unit went. Mock recalls test whether your ERP can answer. Here is how lot genealogy works, what the FDA traceability rule asks for and how to run a drill.

The short answer: food traceability means being able to follow a lot one step back to its suppliers and ingredients and one step forward to every customer who received it, quickly enough to act. A mock recall is a drill that tests whether you can. In the United States, the FDA's food traceability rule under section 204 of the Food Safety Modernization Act requires covered firms to keep records of key data elements tied to critical tracking events, and once a food has been assigned a traceability lot code, the records at each event must include it. The listed events in the final rule are harvesting, cooling before initial packing, initial packing of a raw agricultural commodity, first land-based receiving of fish from a vessel, shipping, receiving and transformation; the data elements required vary by event. A university summary says records must be provided to the FDA within 24 hours of a request, and the FDA offers a sortable spreadsheet template. The compliance date has moved from January 2026, and sources I found disagreed on whether the extension to July 2028 was proposed or final, so check the FDA's own page before planning around a date. This article is general guidance, not legal or compliance advice, and the rule applies only to foods and firms it covers. What ERP contributes is the genealogy: each receipt, batch, pack and shipment linked by lot, so that a trace is a report, not an archaeology project.

If you make, pack, distribute or import food or beverage and are choosing or configuring ERP, this article explains the genealogy your system should hold, the data a trace needs, how to run a mock recall and what to fix when it fails. Rules differ by country, product and role in the supply chain, so confirm what applies with your quality team, a regulatory adviser and the regulator's own materials. ERPTrail is independent and not affiliated with any vendor named.

What a trace has to answer

Two questions, in both directions.

Backward trace. Given a finished lot a customer has complained about: which batches produced it, which ingredient and packaging lots went into those batches, which suppliers supplied them and when did they arrive?

Forward trace. Given an ingredient lot found to be contaminated or mislabelled: which batches used it, which finished lots resulted and which customers received those lots, in what quantities and when?

Add the supporting questions: how much is still in stock, where, and in which status; how much has been shipped, to whom and at which address; what else was made on the same line on the same day; and what was the cleaning and changeover status.

A reliable trace is a chain of linked records. If one link is missing, the chain breaks.

Receipt. Each incoming lot is recorded with supplier, supplier's lot number, internal lot number, receipt date, quantity, expiry or best-before date and quality status.

Storage and movements. Lot-level inventory by location, with transfers, holds and adjustments, so you know where a lot is.

Issue to production. The consumption of each lot into a batch, recorded as it happens, with quantities. Backflushing by theoretical recipe quantity is a risk: if the recipe says 100 kilos from lot A but the operator used 60 from A and 40 from B, the genealogy is wrong.

Production batch. A batch record with date, line, equipment, recipe version and operators, and the output lot or lots.

Intermediate and rework. Intermediates such as sauces, doughs and blends carry lot numbers too, and rework, which re-enters production, must be linked to its source, or the chain forks silently.

Packing. Finished lots, pack sizes and labels, linked to the batch they came from, with the lot code printed or encoded on the package.

Shipping. Each shipment lists the lots and quantities by customer and delivery address, with dates.

Returns and disposition. Returned, quarantined or destroyed quantities, tied to the lot.

The FDA rule's concept of a traceability lot code, assigned and then carried in the records at each event, matches this approach: a code that follows the food and links the records. The details of when a code is assigned and by whom depend on your role and the foods covered, so read the rule or take advice.

Data elements and who holds them

The final rule defines key data elements for each critical tracking event, such as who performed the event, where, when, the product description, quantity and unit of measure and the lot code, plus the reference document and, for some events, the source or the location to which the food was sent. The exact lists differ by event and by food, and the full requirements are in the FDA's published rule and guidance, which you should consult directly. In ERP terms, check whether the system can hold, link and report the following without custom work.

Location identifiers. Your facilities, suppliers' and customers' locations, with a stable code and address.

Product identifiers. Item descriptions that match what appears on documents and labels, with pack sizes.

Lot codes. Your internal lot, the supplier's lot, and the lot code printed on the product, linked.

Event data. Receiving date, shipping date, transformation date and, where needed, the time.

Reference documents. Purchase order, bill of lading, delivery note or batch number linked to events.

Sortable output. The ability to export a trace as an electronic, sortable file, since the FDA mentions a sortable spreadsheet template.

This is general information. The rule covers certain foods on the FDA's food traceability list, not all foods, and exemptions exist, so your regulatory adviser must determine what applies to you. Other countries have their own regimes, such as the European general food law's one-step-back, one-step-forward principle, which I did not verify here, so check local requirements.

Why mock recalls matter

A mock recall tests the system and the people. Many firms discover during their first drill that the genealogy has holes: lots entered without supplier lots, finished lots not linked to batches, shipments recorded by order but not by lot, or reports that take two days to assemble from three systems. Drills reveal these safely.

Scope. Choose one finished lot and one ingredient lot, preferably something awkward: a lot used in several batches, an item shipped to many customers or something that went through rework.

Clock. Start timing when the scenario is announced. Many firms aim for answers within a few hours; the FDA's 24-hour record request mentioned in the university summary is a useful outer reference for firms covered by the rule, though your own target may be tighter.

Questions. For a backward trace, list the ingredients and suppliers. For a forward trace, list the finished lots and all customers. Reconcile quantities: how much was produced, shipped, in stock and unaccounted for.

Participants. Quality, production, warehouse, purchasing, sales and IT, since each holds part of the record. Assign a coordinator.

Output. The trace report, the reconciliation, the notification list and the actions you would take: hold stock, notify customers and regulators, retrieve product.

Scoring. Time to complete, percentage of product accounted for and the number of manual steps. A common aim is to account for close to all of the product; record what you can actually achieve and improve it over repeated drills.

Findings. A short list of gaps with owners and dates.

Repeat at least annually, and after any major system or process change. Our guide to ERP for food manufacturing covers wider capability and our guide to quality management and traceability in ERP discusses holds, nonconformances and records.

Typical gaps found, and fixes

Backflushing instead of actual consumption. Fix: scan or record actual lots at issue for traceable ingredients, and use backflush only for non-critical materials.

Supplier lot not captured. Fix: make it mandatory at receipt, with a scan of the barcode where available.

Lots merged in storage. A new delivery topped up into a tank or bin. Fix: a rule for tracking blended lots, with the blended lot linked to its sources.

Rework untracked. Fix: give rework its own lot or link it explicitly to the batch it returns to.

Finished lot not tied to the shipping record. Fix: pick by lot and record lots on every shipment line.

Third-party warehouses and co-packers outside the system. Fix: get lot-level data from them by file or portal, in an agreed format.

Paper records. Fix: capture batch data electronically at the line, or at least scan documents and link them.

Different identifiers in different systems. Fix: a master list of items and locations with one code each.

Slow reports. Fix: a standard trace report built and tested, not assembled ad hoc during a crisis.

Label errors. The printed code does not match the system. Fix: print from the system and verify at line check.

What to ask ERP vendors

Genealogy depth. How many levels can the system trace, and how fast across hundreds of thousands of records? Ask for a live trace on a large data set.

Forward and backward reports. Standard or custom?

Quantity reconciliation. Does the trace show produced, shipped, on hand, rejected and unaccounted quantities?

Holds. Can you place all affected lots on hold in one action, across locations and statuses?

Customer lists. Can the trace output ship-to details and contact information for notification?

Interface to scales, scanners and line systems. How are lots captured on the line?

Retention. How long are records kept, and can you retrieve them? Retention periods differ by rule and product, and some regimes require multi-year retention, so check yours.

Audit trail. Who changed a lot record, and when?

Our guide to ERP testing and user acceptance explains how to write pass criteria; make a mock recall one of them.

An invented example

Imagine a producer of fresh sauces and dips with a hundred and sixty employees, supplying supermarkets and food-service distributors. The company is invented. Production data is split between a batch-record binder, a warehouse system and the ERP; trace requests are assembled by the quality manager with help from three departments.

The quality manager organises a drill in preparation for a new ERP. The scenario: a spice lot from one supplier is found to be contaminated; which finished lots used it, and who received them? In the current process it takes nine hours to find the batches and a further day to find all customers, and quantities do not reconcile because rework from one batch was not recorded. In vendor demonstrations, she asks each to run the same scenario on a sample data set. One shows the forward trace in seconds, with quantities by customer and a button to place all affected lots on hold; another requires an export and a spreadsheet join. She chooses the first, makes recording of actual lot consumption mandatory on the line and schedules a mock recall every six months. The example is invented, and the hours are illustrative. It shows that the drill itself is the specification.

Questions to put to vendors and partners

How does the system link receipts, batches, finished lots and shipments? How is actual ingredient consumption recorded, and where do you allow backflushing? How are blended, rework and intermediate lots handled? What does a forward and backward trace report show, and how fast is it? Can it reconcile quantities and place lots on hold? How does it support the data elements and traceability lot codes that our regulators require? How do co-packers and third-party warehouses send lot data? What retention and audit trail features exist? Which food manufacturers can we call about their recalls and drills?

Frequently asked questions

What is a mock recall? A drill that tests how quickly and completely you can trace a lot to its ingredients and customers.

What is a traceability lot code? A code assigned to a lot of food and carried in records at each tracking event, under the FDA rule for covered foods.

What is a critical tracking event? A step such as shipping, receiving or transformation for which the rule requires specified data to be recorded.

How fast must I produce records? The FDA rule, as summarised by a university source, requires records to be provided within 24 hours of a request for covered firms; check the rule for your case.

What do most drills find? Missing supplier lots, untracked rework, backflushed consumption and shipping records without lots.

Sources checked in November 2026. This is general information, not legal or compliance advice; the FDA rule covers specific foods and firms, and its compliance date was the subject of conflicting reports, so confirm it on the FDA site. FDA, FSMA final rule on additional traceability records for certain foods; Federal Register, Requirements for additional traceability records for certain foods; FDA, Proposal to extend the compliance date and new FAQs; NC State Extension, FDA FSMA 204 food traceability rule; Food Safety News, FDA issues the final rule for traceability records.