Lot tracking is how Peasy captures batch-level traceability for the items you receive and produce. Receiving a purchase order or completing a work order with positive output creates a lot — a record of that specific batch, its quantity, and where it came from. Lots let you trace a batch from the vendor all the way through to the sales order it went out on.
There's no setting to turn on. Lot tracking works out of the box.
How Lots Are Created
When You Receive a Purchase Order
Every line you receive on a PO creates a lot. In the Receive panel you'll fill in two lot-related fields:
- Lot ID — The lot number Peasy will use internally. Auto-generated from the item SKU and the receive date (e.g.,
2026-04-12-SKU-001), but editable before you submit. If another lot with the same ID already exists for that item, Peasy bumps the numeric suffix. - Supplier Lot ID — (Optional) The lot number your vendor put on the shipment. Enter this if you want to preserve the supplier's own batch code for traceability.
Both fields live in the Receive panel next to the quantity. You can override the auto-generated Lot ID right there — once you click Submit, the lot is written and the Lot ID can't be edited from the UI after that.
Lot Expiration Dates
Set Shelf Life (days) on a Buy or Sell variant to give its lots a default expiration. Leave it blank for no default; 0 means a lot expires the day it's received.
When you receive a new lot, the Receive panel's Expiration field shows the Receive Date plus the item's shelf life. Type the supplier's date instead, or clear the field for no expiration. Changing the Receive Date moves a calculated date but keeps one you typed, and Use calculated expiration goes back to the calculation.
A lot has one expiration date, owned by the record that created it. When you type a Lot ID that already exists, such as one a work order produced or a manual inventory add created, the field shows that lot's date read-only with an Edit originating record link. To change it, edit that record. To change a received lot's date later, edit the receipt that created it in Receive History.
Work orders work the same way. When you mark a work order done, the Mark as done dialog's Expiration field shows the completion Date plus the finished item's shelf life, and you can type, clear or reset it. A completed work order shows its lot's Expiration under Lot Number, where you can change it later; a calculated date moves when you correct the Finished Date, and a date you typed stays. For a co-manufactured run completed with Receive & mark done, the expiration belongs to the receipt and counts from the Receive Date. See Completing a Work Order.
A lot you add by hand has no calculated date. When an inventory Add names a new lot, the exp button beside the lot picker opens an optional Expiration field; enter the date printed on the stock or leave it blank. Add lot in the Lot Tracking tab has the same optional Expiration beside the lot number. To change or clear that date later, edit the add in Inventory History: its Expiration field can be edited only on the add that created the lot. Editing an add to a lot another record created shows that record's date read-only, with an Edit originating record link. In Bulk Edit Lot Assignments, a row that would move a lot's creating record into a lot with a different expiration is blocked.
Only Buy and Sell variants have a Shelf Life (days) field today, so lots made from other variants usually start with no proposed expiration. You can still type one.
You can see a lot's expiration, read-only, in the item's Lots tab, on each lot card in the Lot Tracking tab, in the selected lot's details (with an Origin link to the record that edits it), beside each lot in the lot picker on sales orders, shipments, and fulfillment, and in the Expiration Date column of Inventory > Logs, where you can also filter and sort by it (see Inventory History). A date from today through 30 days out is marked expiring soon, and an earlier date is marked expired. A lot with no date shows — in the Lots and Lot Tracking views, and its lot picker option shows only the quantity left. Unresolved means more than one record claims the lot, so Peasy doesn't guess its date.
When You Complete a Work Order
When you mark a work order done with a positive Qty Made, you enter a required lot number for the finished batch. That creates a lot record against the output item so the batch you just produced is traceable just like a received lot. If Qty Made is 0, the output lot field is disabled and Peasy creates no finished lot.
Where to See All Lots for an Item
Open any item from Buy > Items to buy or Sell > Items to sell and look for the Lots tab on the item detail page. The tab appears automatically once the item has at least one lot.
The Lots tab shows:
- Lot Number — The ID assigned at creation
- Expiration Date — The lot's expiration, with an Expired or Expiring soon badge. Lots with no date sort last either way.
- Source Item — Which item in the family created the lot
- Status — In Stock (has remaining quantity) or Depleted (fully consumed)
- Available Qty — How much of the lot is still available, shown with the inventory unit
- Qty Used — How much has been consumed from the lot, shown with the inventory unit
- Source — Receipt, production, or manual
- First Received — When the lot was created
- Last Activity — The last time something was drawn from it
Use the filter at the top to switch between All, In Stock, and Depleted (defaults to In Stock). The expiration filter beside it narrows the list to lots Expiring within 30 days, Expired, or with No expiration date.
Click any lot to open its Lot Tracking panel, where you can see its full usage history and adjust how much of it is available.
Browsing and Creating Lots from the Lot Tracking Tab
You don't have to go through the Lots tab first. Open the item and go straight to the Lot Tracking tab — if no lot is selected yet, it shows the same lot browser: a search box (matches lot number, item, or source), Source and Expiration filters, and All / In Stock / Depleted status tabs (defaults to In Stock). Each lot card shows its Available Qty, Qty Used, and Expiration.
The Lot Tracking tab (along with Details, Documents, and Integrations) is available everywhere the item detail panel opens — the item's own page, the Inventory page, a vendor's page, and the cart panel — not just one place.
- Click a lot card to open its tracking view. A Back button at the top returns you to the browser without losing your search or filters.
- Click Add lot to create a new lot right there — it opens the same Edit availability editor described below, with an editable lot number field in place of the usual read-only one. Enter a lot number, a starting quantity and, if you like, its Expiration, choose whether to Update global (see below), and submit.
- If you type a lot number that's already in use for the item, Peasy shows an error and leaves the existing lot untouched — pick a different number, or find that lot in the browser and adjust it directly instead.
Inventory Reconciliation Summary
At the top of the lot browser, three tiles compare your item's total stock to what's actually tracked by lots. Hover the ⓘ icon on each tile for details:
- Total available — the item's overall available quantity across all locations, regardless of lots.
- In-stock lots — how much of that total is currently represented by lots with remaining quantity.
- Not lot-assigned — the gap between the two. Its tooltip explains what a nonzero value means (inventory added without a lot attached) versus zero alongside Total available being less than In-stock lots (inventory deducted without a lot attached).
These numbers are global totals across every location and always reflect the full item — the search box, Source filter, and status tabs below only narrow the lot list, they don't change the reconciliation numbers.
How Lots Are Consumed
Lots deplete as you sell, produce, or move inventory. Different flows handle lots differently:
Sales Orders (Manual Lot Selection)
The lot that's actually consumed is recorded on the shipment — what physically moved. The lot you pick on a sales-order line is a planned default that seeds the shipment, not the final answer. On the customer order page, use the Lot cell on a line item to set that default from the dropdown; when you ship, you can override it on the shipment for the batch you really picked. This gives you precise control when you need it — useful for recalls, quality holds, or customers who ask for specific batches.
A couple of things follow from lots living on the shipment:
- A shipped line shows the lot it actually shipped from. Once a line has shipped from a single lot, its order-line Lot cell displays that shipment's lot — not the older planned default — and editing it there updates the shipment to match. If all of the line's shipments are cancelled, it returns to a planned default you can set freely again.
- One line can ship from more than one lot. Ship part from Lot A now and the rest from Lot B in a later shipment — each shipment records its own lot. When a line has shipped from more than one lot, the order-line Lot cell shows a read-only Multiple lots marker instead of a picker, since one value can't represent them — correct each lot on its own shipment.
Shopify Orders (Auto-FIFO)
Shopify orders can assign lots automatically. Go to your Shopify connection's settings card and enable Auto-assign lot IDs to Shopify orders. When on, Peasy uses FIFO — the oldest available lot is picked first, splitting across lots if one doesn't have enough quantity. Items that don't have lots aren't affected.
Work Orders
When you log inputs or complete a positive-output work order, the lot field is a free-text number — it's captured for reference but isn't linked to a specific existing lot record. Use this for lightweight batch notes on production. A zero-output completion has no output lot.
Manual Adjustments
When you adjust inventory from the breakdown modal (see Adjusting Inventory), each row has an optional Lot field. Select an existing lot from the dropdown or type a new lot number. This lets you add, subtract, or reset quantity against a specific batch — useful for corrections like writing off damaged units from a known lot or adding found stock back to the right batch.
If you leave the Lot field empty, the adjustment applies to the item's overall inventory without lot attribution, just like before.
Subtracting from a lot is capped at what the lot has left. If you enter more than the lot's remaining quantity, Peasy deducts only what's actually there. You'll see the balance drop to zero in the breakdown. To subtract from a lot that's fully consumed, or to type a lot number that doesn't exist for the item, Peasy shows an error instead of writing a negative balance — pick an existing lot with stock remaining.
Transfers
Transfer orders aren't tied to a specific lot. They change total quantities for the item at a location without recording which batches moved.
When you select a lot in an item's inventory adjustment, Subtract uses at most that lot's remaining quantity at the selected location. This also lets you clear a tiny positive remainder. Without a selected lot, a subtraction larger than the stock on hand is refused without changing stock.
Adjusting a Lot's Available Quantity
You can correct how much of a lot is available right from the Lots tab (or the Lot Tracking tab's browser) — no separate adjustment modal needed.
- Open the item and click the lot you want to change, either from the Lots tab or the Lot Tracking tab. A Lot Tracking panel opens on the right with an Edit availability editor at the top.
- Choose how to change it:
- Reset — set the lot's available quantity to an exact number
- Add — increase it by an amount
- Subtract — decrease it by an amount
- Enter the quantity. You can switch the unit (for example, count in cases instead of each) using the unit selector next to the amount.
- Review the Preview — it shows how This lot and Global availability will change. Add a note if you want one, then click Submit.
Update global vs. keep the total the same
The Update global toggle in the preview controls whether the rest of your inventory moves with the lot:
- On (default) — the item's overall available quantity changes by the same amount. Use this when the lot change reflects a real change in total stock — you found extra units, or wrote some off.
- Off — the item's total always stays the same; the change is fully offset against unassigned inventory (stock not attributed to any lot). Use this when you're reassigning quantity between a lot and the untracked pool, or correcting how a lot's quantity is booked without changing the item's overall count.
Ask Beacon to fill it in
Tell Beacon what a lot holds, such as "Lot L-204 of oats only has 12 kg left" or "Add lot L-310 of oats with 40 kg." Its Show me button opens the item's Lot Tracking tab with that lot's editor, or Add lot, filled in and highlighted. Beacon leaves Update global on unless you say the stock is already counted and only the lot is wrong. Check the preview and click Submit; nothing changes until you do.
Viewing a Lot's Full Trace
When you need the whole story of a batch, such as for a recall or a customer question, open the lot in a Lot Tracking panel and click View full trace. The button is there wherever the panel shows a single lot: the item's Lot Tracking tab, and the Lot Tracking tab on a record in Inventory > Logs.
The trace page shows everything Peasy has recorded about the lot:
- Upstream records: where the lot came from, such as the receipt or the work order that made it, and the inputs that went into that work order.
- Selected records: the lot's own movements.
- Downstream records: every batch made from this lot further down the line, and every shipment of those batches to customers. Batches that only shared an ingredient with this lot are left out.
Four cards at the top count the Source inputs, Downstream batches, Customer shipments, and Known trace gaps. References in the table link to their receipt, work order, or customer order.
To trace a different batch, change the Item or Lot selector at the top. The page address keeps your choice, so you can bookmark or share it, and the round back-arrow button returns to that lot's Lot Tracking tab on the item page.
Refresh and Download CSV
The page is a snapshot taken when it loaded. It doesn't change while you're looking at it, even if someone records new activity. Hover Refresh to see when it was loaded, and click it to load the latest records. If a refresh fails, Peasy keeps showing the last trace it loaded and tells you so.
Download CSV saves exactly the trace on screen, with no second lookup. The file starts with the selected item and lot, then lists Upstream, Selected, and Downstream records, with customer shipments last, in these columns: Relationship, Record Type, From Item, From Lot, To Item, To Lot, Reference, Shipment, Counterparty, Quantity, Unit Cost, Line Total, Unit, Event Date, Status, Gap, Notes, and when the file was exported. Download is turned off while a trace is loading or refreshing, so the file always matches the page.
What a trace gap means
The trace only follows links that were recorded. When a link is missing, Peasy lists it as a gap on the affected record instead of skipping it. For example, a work order input recorded without a lot, a lot with no receipt or work order output behind it, or a shipment with no customer. Fix the underlying record, for example with Edit lots in Inventory > Logs, then click Refresh.
A very large trace that can't be built in one report shows an error with Retry and no download, so you never get a partial file.
Ask Beacon to document a recall
For a mock recall drill or a real recall, ask Beacon, such as "Run a mock recall on Tomato Sauce lot SAUCE-241 for our quarterly drill." Beacon asks for the item, the lot, whether it's a mock or real recall, and your reason if you leave any out. It then summarizes the same full trace and gives you two downloads from one snapshot:
- Investigation PDF: the mock or real designation, the lot, when the records were read, your business, who it's prepared for (you), the counts, sources, downstream batches, every customer shipment, and any gaps. Your reason and note are labeled as supplied by you rather than recorded in Peasy.
- Full-trace CSV: the same file Download CSV saves.
The links work for seven days, so save the files you need. Asking again reads the latest records and makes new files; earlier files don't change. Beacon only reads and documents: it doesn't contact customers, hold stock, or close out a recall. A trace with more than 1,000 records is too long for one PDF, so Beacon tells you and creates no files; use View full trace for the CSV.
Editing and Deleting Lots
Lots are read-only after creation — the Lot ID, source, and creation date can't be changed. But you can correct a lot's quantity (see Adjusting a Lot's Available Quantity above). There's no delete button — this preserves the audit trail so recalls and traceability stay reliable.
- To correct a lot number at creation: Override the Lot ID field in the Receive panel before you click Submit.
- To correct lot assignments on completed transactions: Go to Inventory > History, select the rows, and click Edit lots. Use Bulk Edit Lots to choose or type the corrected lot values — each is checked automatically — then apply the updates.
- To "remove" a lot: Let the lot deplete naturally — when Available Qty hits zero, the lot moves to the Depleted status automatically. Lots are never hard-deleted.
- To correct a lot's quantity after creation: Click the lot in the Lots tab and use the Edit availability editor, or use a manual adjustment with the lot selected (see Adjusting Inventory).
Good to Know
- Lots belong to items, not locations. A lot with 50 units can sit at Warehouse A and Warehouse B at the same time — Peasy tracks the total remaining on the lot, not a per-location split.
- Depleted lots stay visible. They're still in the Lots tab under the Depleted filter, and history entries that reference them still show the full lot detail when you click through.
- Auto-generated Lot IDs are unique per item, per entity. If the generated ID collides, Peasy increments the suffix until it's unique.
- Manufacturing dates aren't fields on the lot itself today. If you need to record them, add a custom field or capture the date in the Supplier Lot ID. Expiration dates are covered in Lot Expiration Dates.
- The Shopify FIFO setting only affects Shopify orders. Regular sales orders still require you to pick the lot manually on each line — that's the default lot for the shipment, which you can override per shipment.
Related
- Receiving Pending Orders — Where Lot ID and Supplier Lot ID are captured
- Receiving Without a PO — Ad-hoc receives still create lots
- Managing Work Orders — Assigning a lot number when completing a run
- Inventory History — See every movement for a lot
- Bulk Edit Lot Assignments — Correct lots from Inventory History
- Creating Sales Orders — Picking a lot when fulfilling