Batches
A batch is a group of units made or bought together, such as one roasting lot or one delivery of milk with the same expiry date. When a product uses batches, Hicom Books counts and values the stock of each batch separately, and every document row of that product names its batch.
Before you start
- Inventory must be on.
- In Setup > Settings, on the Inventory tab, turn on Enable Batches, save and reload. See Inventory Settings.
WARNING
Enable Batches cannot be turned off once it is saved.
Set up a product with batches
Has Batch can only be set while you create the item. You cannot add or remove it after the item is saved.
- Create a new item with Type set to Product. See Items.
- Select Track Inventory. Has Batch appears below it.
- Select Has Batch.
- Optional: enter a Batch Series, such as
RST. - Click Save.
Automatic batch names
With a Batch Series, Hicom Books creates a new batch for every row of the item that has no batch when you save a purchase invoice, a purchase receipt or a Material Receipt stock movement. Returns are not included.
Batch names are the series, a dash and a running number from 1001: RST-1001, RST-1002, and so on. Names that already exist are skipped. A series cannot contain /, ?, &, = or %.
Without a series, you select or create a batch on each row yourself.
Create a batch yourself
Batches have no sidebar entry. Search for Batch in Quick Search and open the list result.
- In the batch list, click New.
- In Batch, enter the batch name, for example
GAYO-2611. - Select the Item.
- Optional: enter the Manufacture Date and the Expiry Date. The expiry date cannot be earlier than the manufacture date.
- Click Save.
You can also create a batch straight from a document row: type a new name in Batch and click Create. The batch gets the row's item.
The item of a batch cannot be changed after it is saved.
INFO
The expiry date is for your information only. Hicom Books does not stop you from selling a batch after it expires.
Pick the batch on a document
- Add the item to the document.
- Click the Edit row button at the end of the row.
- Select the batch in Batch.

On a sales invoice or a sales quote, the list shows only batches with stock at the location the sale ships from. That is the Shipment Location on the Defaults tab, or the POS location for a POS sale. If no Shipment Location is set, stock at all locations counts. Other documents and returns list every batch of the item.
On a sales invoice or quote, Hicom Books also checks the batch's stock when you pick it, change Qty and save. If there is not enough, the field shows an error. Returns are not checked.
In the Point of Sale, a batch picker opens when you add an item with batches.
When Hicom Books refuses a document
You will see an error, and the document is not saved or submitted, if:
- the item uses batches, but the row's Batch is empty;
- the item does not use batches, but the row names one;
- the chosen batch was made for a different item;
- on submit, the batch does not have enough stock at the location the stock leaves from.
Batches in reports
When batches are on, the Stock Ledger and the Stock Balance both get a Batch column and a Batch filter. The Stock Balance shows one line per batch of an item at each location. Because each batch keeps its own FIFO layers, the cost of a shipment depends on the batch it takes.
