Skip to main content

Batches and Expiration - WUI

Working with Batches and Expiration Dates: Receiving, Issuing, and Tracking Inventory in the Web Interface

Written by Petr Pech

Starting with the Business variant, ABRA Flexi lets you track batches and expiration dates for items.

Batches and expiration dates are independent of each other, so an item can track only batches or only expiration dates. Of course, it can also track both.

If you are looking for the guide for the desktop application rather than the web application, go to the guide for the desktop application.


How do I enable batch and expiration tracking for a price list item?

First, you need to specify which items should track batches or expiration dates. You do this in the price list, in the price list item detail, on the Stock tab, in the Tracking section.

In our example, both options are enabled: Track batches and Track expiration dates.

⚠️ If you want to enable or disable tracking retroactively for price list items that are already in use, this operation is not possible. It can be enabled via an advanced parameter; for more information, contact support.

As a supplementary expiration detail, you can specify the shelf life as a number of days after expiration (the Shelf life is X days after expiration field).

This value is for information only. It is used only in the document item (for example, of an issued invoice or a delivery note), where the shelf life date is filled in automatically.


Receiving an item with a batch and expiration date

Once an item is set up this way, you can receive it together with a batch and expiration date. You can enter batches and expiration dates for an item both from a goods receipt and from a received invoice. We will show an example using a goods receipt, but the procedure for a received invoice is analogous.

You will find the Batch, Expiration, and Shelf life fields in the document item detail. Open the detail using the pencil icon that appears when you hover over the item row.

Alternatively, you can add batches and expiration dates as columns directly in the document item table and fill them in without opening the item detail. To do this, use the gear icon in the header of the item table and the Column settings panel.

You can stock any number of items under a single batch or expiration date at once. The number of units you receive is the number of units that will be received with the given batch and expiration date.

If you need to receive one item with multiple batches and expiration dates at once, you must split the item into multiple rows (one for each batch and expiration date, or for their combination).

Once the goods receipt contains everything you need, you can save the document.


Overview of the current status of batches and expiration dates in warehouses

To see which batches you currently have in stock, open the price list item detail and go to the Batches and expiration dates tab. There you will see the batch, expiration date, shelf life, quantity, and warehouse.

If you need to see the overall stock status including batches or expiration dates, use one of our add-ons.


Issuing an item with a batch and expiration date

All that remains is to issue the item with its batch or expiration date. Again, we will show the example using a standard delivery note, but the procedure is analogous when using an issued invoice (which by default generates the delivery note automatically according to the invoice type settings).

So, you create a delivery note with the given item.

You again enter the batch and expiration date in the delivery note item detail, or in the item table columns if you have added them.

However, the behavior here differs from a goods receipt. On a delivery note, you select from the batches and expiration dates available in stock, using a drop-down list.

When you save a delivery note item with batches and expiration dates set this way, they are issued from stock.

If a price list item has batch and expiration tracking enabled, you need to keep this in mind when issuing items and remember to specify them for the item.

For an item with tracking enabled, both the batch and the expiration date are required fields. You must fill them in on every goods receipt and every delivery note, otherwise you will not be able to save the document.

⚠️ Previously, this requirement was not enforced and was added optionally using an advanced parameter (files for batches and expiration dates). Most cases where part of the stock was received with batches and issued without them date from this period. If you see movements without a batch for an item, check the period in which they occurred.

Issuing by the earliest expiration date

On the stock card of the relevant items, you will find the Issue by expiration flag. Its purpose is to issue stock with the shortest expiration first, regardless of when it was received into stock.

🚨 This flag currently does not work as expected in all places. When creating a stock document with an item that tracks batches or expiration dates, always fill in the relevant expiration date, and never create a document without it.


Stocktaking of batches and expiration dates

Batches and expiration dates can also be processed through stocktaking.

If an item loaded into a stocktaking tracks batches or expiration dates, they are taken into account in the stocktaking. The item is displayed on as many rows as there are combinations of batches and expiration dates for that item. The system quantity always corresponds to one such combination.

For detailed instructions on creating a stocktaking, see our stocktaking guide.


FAQ

Did this answer your question?