Food lot traceability and mock recalls
When a supplier calls about a lot, the questions are what you made with it and who has it now. Knotworking keeps stock as dated lots with every movement on a ledger, so both questions are answerable from the records instead of reconstructed from paperwork.
Distribution impact
Rolled oats · LOT-0311
Generated 26/11/2026 14:20
Affected customer deliveries
| Delivery / date | Customer / delivery address | Contact at despatch | Product / lot | Quantity |
|---|---|---|---|---|
| DN-2026-000071 12/11/2026 | Harvest Grocers (HARV) Unit 4, Dockside Park, Bristol | Jo Marsh · jo@harvest-grocers.example · 01632 960123 | FG-GRANOLA-500 · Oat & honey granola G-1182 | 240 each |
| DN-2026-000073 14/11/2026 | Fenwick Deli (FENW) 12 Market Row, Leeds | Ana Reyes · ana@fenwick-deli.example · 01632 960456 | FG-GRANOLA-500 · Oat & honey granola G-1182 | 96 each |
One chain, end to end
Goods-in creates lots with their dates and locations. Batch records consume lots and produce new ones. Despatch records which lots went out on which delivery note, and to which customer. Because each step writes to the same movement ledger, a trace is a lookup rather than a reconstruction.
Forward
Start from a received lot and follow it through batches to the customers who received it.
Backward
Start from a despatched lot and follow it back to the ingredients and suppliers.
Despatch
| Reference | Date | Customer | Order reference | Status |
|---|---|---|---|---|
| DN-2026-000077 | 26/11/2026 | Fenwick Deli | FENW-PO-20261125 | confirmed |
| DN-2026-000076 | 25/11/2026 | Harvest Grocers | HARV-PO-20261124 | confirmed |
| DN-2026-000075 | 25/11/2026 | Millbrook Café Group | CAFE-PO-20261124 | confirmed |
Supplier controls before goods arrive
Suppliers carry an approval status, certification and certificate expiry. Goods-in refuses suspended and rejected suppliers, and a pending supplier can deliver into quarantine only. Approving a supplier is a signed-in person's decision.
A risk assessment for a supplier, or for one item it provides, names the controls required: valid certification, an accepted questionnaire, an approved specification, an audit, a certificate of analysis with each delivery, or testing on receipt. The compliance view judges certification, questionnaires and specifications from the evidence held, and flags what is missing, expiring or overdue for review.
How firmly that bites is your setting. By default open issues are only reported. Switch enforcement to block and a supplier with open issues can't be approved, and its purchase orders can't be sent, unless a signed-in person with Manage access to Items overrides with a recorded reason.
An append-only ledger
Stock movements are appended, never edited, so the history can't quietly change after the fact. Adjustments are movements too, and sit in the same record as everything else.
LOT-0311
LOT-0311Available
Rolled oats ING-OATS · on hand 380 kg
Movements
| When | Movement | Location | Quantity | By | Reason / reference | |
|---|---|---|---|---|---|---|
| 18/11/2026 10:06 | Reversal: Adjustment | Dry store | +20 kg | Ada Lovelace | Keyed 20 instead of 2 | |
| 18/11/2026 10:02 | Adjustment (reversed) | Dry store | −20 kg | Ada Lovelace | Torn sack | |
| 12/11/2026 09:14 | Consumption | Mixing room | −120 kg | Sam Okafor | B261110-001 |
Practise before it counts
The quality module records mock recalls alongside complaints, CAPA, internal audits and incidents, so the exercise your auditor expects is kept with the rest of your quality records.
Quality
Mock recall
A lot traced and fully reconciled within 4 hours, at least once a year
Last test MR-2026-004 on 26/11/2026Passed
Recall testsMock recall tests
| Reference | Date | Lot | Time taken | Accounted for | Result |
|---|---|---|---|---|---|
| MR-2026-004 | 26/11/2026 | LOT-0311 Rolled oats | 2 h 40 min | 500 / 500 kg 100% | Passed |
Test results that hold the lot
Testing connects too. Sampling plans and lab results are judged against limits, and a failed result opens an investigation and holds the lot.
Testing
Samples
3 shown
| Reference | Sampled | From | Laboratory | Status | Outcome |
|---|---|---|---|---|---|
| S-2026-0037 | 26/11/2026 | Lot G-1192 · FG-GRANOLA-500 | Brightwater Food Labs | Complete | FailInvestigation open |
| S-2026-0036 | 24/11/2026 | Lot G-1180 · FG-GRANOLA-500 | Brightwater Food Labs | Complete | Pass |
| S-2026-0035 | 21/11/2026 | Lot C-1176 · FG-CLUSTERS-400 | Brightwater Food Labs | Complete | Pass |
Quarantine and release
A lot is available, in quarantine or rejected. Moving it out of quarantine is a QA release: a signed-in person's sign-off, recorded with who, when and the checks as they stood. It is refused while a sample is awaiting results or a failure is unresolved.
Each item can also have a release rule that requires a passing sample covering named analytes, an approved specification, or reviewed CCP records with no open corrective action for the batches that made the lot. Required evidence from a module unavailable on the server blocks release. If the workspace hides a module that the server still runs, its evidence continues to count. A blocked lot requires a second person with Manage access to Stock to approve an exception and record why.
Release stays a person's decision. Nothing releases a lot automatically when the checks pass.
G-1182
G-1182Available
Oat & honey granola FG-GRANOLA-500 · on hand 480 each
QA release
- A passing test covering Salmonella, Listeria Release rule
Passed: S-2026-0038 - An approved specification Release rule
The item's specification is approved
SPEC-FG-GRAN500 v3 - CCP monitoring reviewed Release rule
All 6 CCP readings for B261110-001 are approved
| Released | By | Rule | Note |
|---|---|---|---|
| 11/11/2026 14:02 | Ada Lovelace | v2 | Micro results clear, released |
What it isn't
Traceability is only as complete as the records behind it.
Not a certification
No software gives you one. It keeps the traceability and quality records that an audit looks for.
Only what goes through it
A trace follows what was received, made and despatched in Knotworking. Goods that move outside it won't show up in the chain.
Controls you configure, not controls it assumes
Supplier issues are only reported until you switch enforcement to block. Audits, certificates of analysis and testing on receipt are listed as required but never marked as met by the software, so attach the evidence and record who checked it.
Packing checks don't hold a lot
They are kept with the batch for the record. Only samples, specifications, CCP records and your release rules can block a release.
In the product
Screens from the demo workspace, for the modules behind this page.
ItemsOperations Stock and lotsOperations Production batchesOperations Despatch and delivery notesSales and finance
The modules behind this
Each is a separate module, switched on for the installation and then granted person by person.
Operations
- Items and suppliersA catalogue of materials, components, products and services with units, costs and approved suppliers.
- StockLocations, dated lots, goods-in and an append-only movement ledger with traceability.Needs Items and suppliers.
- ProductionA batch schedule from approved recipes, material requirements against stock, and batch records that consume and produce lots.Needs Recipes and bills of materials and Stock.
- QualityComplaints, CAPA, internal audits, mock recalls, incidents and authenticity assessments.
- TestingSampling plans and lab results judged against limits. A failed result opens an investigation and holds the lot.Needs Items and suppliers and Stock.
- SpecificationsVersioned specs for ingredients, packaging and products, agreed, approved and checked against what you make.Needs Items and suppliers and Food items.
- PurchasingPurchase orders for stock and non-stock goods, services and subscriptions, receipts, three-way invoice matching and supplier performance.Needs Items and suppliers.
Sales and finance
- DespatchLot despatches, delivery notes and tracing which customer received which lot.Needs Customers and Stock.
Questions
- Can I trace forwards and backwards?
- Yes. Lots are linked through goods-in, batch records and despatch, so you can follow a lot in either direction.
- Does it support mock recalls?
- Yes. Mock recalls are recorded in the quality module with complaints, CAPA, audits and incidents.
- Can a failed test stop a lot being used?
- A failed lab result opens an investigation and holds the lot.
- Can I stop buying from a supplier whose controls are out of date?
- Yes, if you switch supplier control enforcement to block. A supplier with open issues can't be approved and its orders can't be sent without a recorded override from a signed-in person with Manage access to Items. By default the issues are only reported.
- Who can release a lot from quarantine?
- A signed-in person with Manage access to Stock, and not an API token. The release is refused while evidence blocks it. Releasing a blocked lot needs a second person to approve an exception.
- Will this get me certified?
- No software does that. It keeps the traceability and quality records that an audit looks for.
Up and running this afternoon.
Clone it, set a few values and start it with Docker. Caddy, the web app, the API and Postgres come up together on your own machine. There's no account with us and no per-seat bill.
git clone https://github.com/knotworking-oss/knotworking.git
cd knotworking && cp deploy/env.example deploy/.env
docker compose --env-file deploy/.env up -d --build
Set up Knotworking ERP using the instructions in this Markdown file.
https://knotworking.dev/docs/agent-install.md