Batch feature in ERPNext allows you to group multiple units of an item,
and assign them a unique value/number/tag called Batch No.
This is done based on the Item. If the Item is batched, then a Batch number must be mentioned in every stock transaction. Batch numbers can be maintained manually or automatically
To set item as a batch item, "Has Batch No" field should be checked in the Item master.
If you want automatic batch creation at the time of Purchase Receipt, you must check "Create New Batches Automatically"
If you have not selected "Create New Batches Automatically", you will have to make Batches Manually as you go along.
To create new Batch No. master for an item, go to:
Stock > Setup > Batch > New
Splitting and Moving Batches
When you open a batch, you will see all the quantities relating this that batch on the page.
To move the batch from one warehouse to another, you can click on the move button.
You can also split the batch into smaller one by clicking on "Split". This will create a new Batch based on this Batch and the quantities will be split between the batches.
Transacting Items with Batches
Batch master is created before creation of Purchase Receipt.
Hence eveytime there is Purchase Receipt or Work Order being made for a batch item,
you will first create its Batch No, and then select it in Purchase order or Production Entry.
On every stock transaction (Purchase Receipt, Delivery Note, POS Invoice) made for batch item,
you should provide item's Batch No.
Note: In stock transactions, Batch IDs will be filtered based on Item Code, Warehouse,
Batch Expiry Date (compared with Posting date of a transaction) and Actual Qty in Warehouse.
While searching for Batch ID without value in Warehouse field, then Actual Qty filter won't be applied.
Next: Projected Quantity