Lot Tracking

InventoryUpdated July 9, 2026 · Reviewed by Peasy Team

Lot tracking is how Peasy captures batch-level traceability for the items you receive and produce. Every time you receive a purchase order or complete a work order, Peasy 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.

When You Complete a Work Order

When you mark a work order done, you enter a lot number for the finished batch alongside the actual quantity made. That creates a lot record against the output item so the batch you just produced is traceable just like a received 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
  • Source Item — Which item in the family created the lot
  • StatusIn 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).

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), a Source filter, and All / In Stock / Depleted status tabs (defaults to In Stock).

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 and a starting quantity, 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 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.

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.

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.

  1. 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.
  2. 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
  3. Enter the quantity. You can switch the unit (for example, count in cases instead of each) using the unit selector next to the amount.
  4. 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.

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 and expiry 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.
  • 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.

Was this article helpful?

Help & Support

Peasy Support

No conversations yet

Peasy Chat

Sign in to chat with our team.

Sign in
Help