Item Batches

Batch tracking keeps stock by lot or batch number, with a manufacturing date and an expiry date. Batches are created when you receive stock and are picked when you sell it. There is no separate batch screen: everything happens on the item, the purchase bill and the sales invoice.

What is Batch Tracking?

Batch tracking links stock to a lot number, for example "BATCH-001" with its own expiry date. It helps with recalls and with selling stock that expires first. It is optional: items without batch tracking are counted by total quantity only.

How to Turn On Batch Tracking

Turn it on in Settings
Go to Settings, find "Batch/Serial Tracking" and turn on "Batch Tracking". You can also set a "Batch Number Prefix" for automatic batch numbers, and "Expiry Alert (Days)": batches that expire within that many days are marked when you pick them.
Choose it for the item
Edit the item. Under "Inventory Tracking", choose "Track by Batch/Lot" and save.

How Batches are Created

Batches are created when stock comes in on a purchase bill:

  1. Add the batch-tracked item to a purchase bill.
  2. In the "Batch/Serial" column, choose "Create New Batch".
  3. Fill in the batch details and click "Save Batch".
Field Description
Batch Number Optional Leave it empty to get an automatic number with your batch prefix, or type your own (for example the supplier's lot number).
Manufacturing Date Optional Date the batch was made.
Expiry Date Optional Date the batch expires. The batch that expires first is sold first. After this date the batch cannot be sold or used in production (see below).
Quantity Taken from the purchase bill line.

How Batches are Used When You Sell

On a sales invoice, the "Batch/Serial" column of a batch-tracked item lets you pick a batch from "Select Batch". The list shows the stock in the invoice's warehouse, and only batches that have not expired on the invoice date. Batches close to expiry show "Expires in N days". If you do not pick one, a batch is chosen for you: the one that expires first, then the oldest. If the item has no batch in stock, you see "No batches available".

Production job cards also let you select the batch for batch-tracked items.

Expired Batches

  • A batch is expired when its expiry date is before the invoice date (or the production date). Expired batches are not offered, and an invoice or production entry that uses one is refused with a message naming the batch.
  • Invoices dated before the expiry date stay valid and can still be edited.
  • Returns of expired stock are always allowed.
  • To sell expired batches anyway (for example, clearance at a lower price), turn on "Allow selling expired batches" in Settings, under "Batch/Serial Tracking". Expired batches then show "Expired" in the list.

For purchase bills and sales invoices in general, seeSales & Purchase.