6 min read · Smart factory

A customer calls to say one product lot has a problem. Quality has to answer which raw-material lots went in, which production runs made it, and who received it. If someone has to go through issue slips, shift logbooks and delivery notes one by one, that can take days. This article helps you set up the records so you can trace faster.
Decide what unit you will track
Traceability (tracing backward and forward) is, per GS1, the ability to follow a product's movement forward and trace its history backward. Before you put barcodes on anything, agree on the level you will track.
- Lot or batch (a group made or received together and given one number): suits products made in batches.
- Serial (a number for each individual piece): suits large or high-value items that must be known one by one.
- Carton or pallet level: used at delivery, to show which lot went out on which delivery note.
GS1 uses the terms batch and lot with the same meaning, and has a check that the organization has a written procedure defining the batch/lot number of the products it makes.
Record from raw-material receiving through lot splitting and merging
The chain most often breaks where a lot changes form, for example when two raw-material lots are poured into one tank, or when one lot is split across two production runs. At these points, write down what lot went in and what came out.
- Receiving: the supplier's lot number, date received, quantity, storage location.
- Issue to production: raw-material lot number, quantity issued, production order number.
- During production: the machine or line used, the shift, and start and end times.
- Splitting or merging lots: how many lots went in, how many came out, and in what proportions.
- Quality results: tied to the finished-goods lot number.
- Packing and delivery: the lot number in each carton, the delivery note number, the customer name.
The US FDA's FSMA 204 rule for certain foods is a clear example. It requires a new lot code to be assigned when food is transformed, and requires every key event to record that code. The rule applies only to foods on its designated list, but the idea of a lot-conversion point applies to ordinary factories too.
Link data from machines and from people
Some data comes from machines, such as the start and end times of a production run and weighing results. Some comes from people, such as scanning the raw-material lot when it is issued. A SCADA system (a system that monitors machines and collects their data) can match times and machine status to production runs without hand entry. Linking lot numbers usually relies on an operator scanning or typing them in.
Rehearse a trace on a sample case
- Pick one finished-goods lot and trace backward to every raw-material lot used.
- Pick one raw-material lot and trace forward to every product and customer.
- Time it, and note where you had to open paper or ask a person.
- Compare quantity in with quantity out. If they do not match, some step was not recorded.
Hypothetical example: raw-material lot R-001 weighs 5,000 kg. 2,000 kg went into production run P1 and 3,000 kg into run P2, so 2,000 + 3,000 = 5,000 kg, which matches what was received. Run P1 produced finished lot F1 of 400 cartons, shipped 250 to customer A and 150 to customer B (250 + 150 = 400). Run P2 produced lot F2 of 600 cartons, all shipped to customer C. If R-001 has a problem, a forward trace should find 3 customers and 400 + 600 = 1,000 cartons. But if no one recorded that P2 drew on R-001, the trace would find only F1, which is 400 of 1,000 cartons, or 40%, and would miss customer C entirely. All numbers are hypothetical.
Benefits
With complete data, an investigation narrows to only the lots involved, instead of having to inspect or recall everything made over a whole period.
Checklist before you start
- Agree whether the tracking unit is lot, batch or serial, and write down how numbers are assigned.
- Draw the material flow and mark every point where a lot is split, merged or changes form.
- Check who records at each point, by what method, and when.
- Require a raw-material lot number field on the production order.
- Rehearse at least one backward and one forward trace, then note the gaps.
- Agree the retention period with quality, accounting and customer requirements.
When it fits, and limits
- Fits: factories where customers ask where raw materials came from, or where products may need a lot-level recall.
- Limit: barcodes alone do not create traceability if conversion and merge points are not recorded.
- Limit: a system only helps as much as people actually scan or enter. If the shop floor is rushed, data will be missing, so design recording to be easy.
- Limit: legal and customer requirements differ by industry. Check them before deciding what data to keep.
Talk to BT San
If you want to map the points where lots are created and changed, prepare a rough production flow chart, a sample production order and a delivery note, then contact BT San to discuss.




