Home · Use cases · Lot traceability

How many pieces and boxes have to be contained when a lot turns out suspect, and how many are already at the customer?

A customer calls to say a lot turned out suspect and asks which other lots you shipped them with that same raw material. The lot record lives in one sheet per line, the shipments in another file, and the answer takes a week of emails. Here the math comes out with your own figures: how much to contain, how much is already at the customer and what it is worth.

Watch it on video ↓

How it works today

Work out how much to contain and how much is already at the customer

Swap the example figures for yours: the math redoes itself as you type. Nothing you type leaves your browser.

Good pieces that come out of final inspection in one lot; the math takes every affected lot at the same size.
The suspect lot and the ones of the same product that consumed the same raw material after it, according to your lot record.
The ones that already left complete for the customer; if you write more than the affected lots, the math caps them.
How many make up one box of that product; boxes are counted whole, rounded up.
What one piece costs you, not the sale price; it only goes into the value at risk.

Results

Affected pieces 21,600
Lots already at the customer 6
Pieces at the customer 14,400
Boxes at the customer 300
Lots in the plant 3
Pieces in the plant 7,200
Boxes in the plant 150
At the customer, over the affected 66.7 %
Value at risk USD 23,760.00
What to do 150 boxes to hold in the plant and 300 to recover at the customer

Preloaded example with made-up data.

The math

Assumptions, and where the rule comes from

Download the template

A spreadsheet with four tabs and sample data at the scale of a manufacturing plant: 312 lots in one month across six lines — one per line and shift, with a consecutive folio — three stations per lot, the shipments by customer and the containment row of the example. Fill it with your own, or hand it to your AI as a starting point.

Download template (.xlsx)

Direct download, no email and no form. Made-up data, at the scale of a manufacturing plant.

How it looks once your AI builds it

Watch it on video

26Trazabilidad por lote: por dónde pasó y qué ya está afuera

Watch on YouTube ↗

Nothing from YouTube loads when this page opens: the image is ours and lives on this site. The player only comes in when you click. The video is in Spanish.

Sample mockup: a panel with the affected pieces, the ones already at the customer and the ones held in the plant, the table of the nine lots with their raw material, boxes and shipment, and the value at risk, with made-up data.
Example with made-up data

What changes

Traceability was quoted once and not approved; the following year it was picked back up with another team. Meanwhile, every time a customer asks which lots you shipped them with that raw material, the answer is put together by hand: the line’s lot sheet, the shipments file and a week of emails.

With the lot sheet and the shipments sheet tied by the folio, containment is a filter: the 9 lots that share the raw material, 6 already at the customer — 300 boxes to recover — 3 in the plant — 150 to hold — and USD 23,760 at risk. The list of lots for the customer goes out the same day, not the following week.

From here to having it running

  1. Do you recognize the problem? It is yours, not a textbook example.
  2. You know how to solve it. What you do not have are the tools to do it.
  3. Just talk to your AI.
  4. Tell it which files to consume — each line’s lot sheet and the shipments sheet — and which lots share raw material; your AI builds it.
  5. What you get are the record per lot with its raw material and its station, the shipments tied to the lot, and the containment panel where you see what is in the plant and what already left.
  6. And the list of lots for the customer goes out the same day, shared with whoever has to see it.
  7. It is not another AI or another chat: it is what is left after the chat.

Install it and ask your AI for it

VillApps installs on your computer and your AI builds the record per lot, the shipments and the containment right there, with your files and with no cloud.

Download VillApps

Windows and macOS · 30 days free, no card.

Questions

Why are boxes rounded up?

Because a loose piece travels in a box: 7,200 pieces over 48 are exactly 150 boxes, but 7,201 would be 151, and containment has to hold or recover that box too. That is why the math takes the whole number rounded up, both in the plant and at the customer. With 0 pieces per box there is no box to count and the math says 0.

What counts as an affected lot from the suspect one?

The suspect lot and the ones of the same product that consumed the same raw material — the same supplier lot — after it. The ones that consumed it before are checked separately, if needed, but they do not go into this math. You write the number from your lot record: filtering the lot sheet by part number and raw material from that date is what containment needs.

What is the value at risk?

The cost per piece times the affected pieces: 21,600 × 1.10 = USD 23,760.00 in the example. You write in the cost. It is not the sale price, nor what it costs to hold, recover or re-inspect: it is the value of what stays in doubt while the suspicion is confirmed or dismissed, to decide how fast to contain it.