You can trace products along the distribution chain using batch numbers. They are also called lot numbers or serial numbers for unique IDs.
Each batch number can have an Expiration date and a Barcode number.
Note: Please note that Batches are included only in the Premium subscription plan.
Creating a Batch
1. To start tracking batch numbers, open an existing product (menu Products & Services > Products), then click on 'Start tracking batch numbers':
Please note that Batches are not available for products that include Packs.
2. If you have multiple stock locations, select the location:
3. Click on 'Add a batch':
Type the Batch ID, Quantity for this location, Expiration date and scan (or type) the barcode (Expiration date and barcode are optional):
Note that each Batch ID need to be unique.
IMPORTANT: Once you have created a batch ID, you will no longer be able to edit the quantity from this page in order to preserve a reliable traceability of your batches.
4. Click on 'Save for this location'
Congratulations, you have created your first batch!
Editing / adding new batches
Once you have created at least one Batch for a product, you can Edit and Add Batches by opening the product and clicking on 'View batch IDs':
Adding Product batches to your Sales / Purchase / Stock documents
Now that you have created your batches, you can select the Batch IDs for your products directly while creating any transaction (Invoice, Sales order, Purchase delivery, Stock Entry,...)
1. Select Batch IDs while creating transactions:
Starting by adding your products to your transaction. When you add any product that has batches, you will see this icon next to the Quantity:
2. Click on the icon, then 'Select option' to select the Batch ID:
If you want to let erplain automatically select the Batch IDs, click on 'Automatically allocate':
In case you have Batches with Expiration dates, 'Automatically allocate' will choose the Batches with the Expiration date closest to the creation of the transaction. Otherwise, it will select the oldest Batches.
3. Confirm the Quantity for each Batch ID. Note that the total quantity can't be higher than the quantity of products you have added to your transaction:
Please note that the Batch selection option is not available in Purchase orders, it is available when receiving products in the Purchase delivery.
Creating a new Batch directly when receiving products from a Purchase order
When you receive products from a Purchase order, you will have the option to create a new Batch ID directly from the Batch selection screen. Simply click in the Batch ID and start typing; Press enter to create the new Batch:
Creating a new Batch directly while creating a Stock Entry
When you create a stock entry, you will have the option to create a new Batch ID directly from the Batch selection screen. Simply click in the Batch ID and start typing; Press enter to create the new Batch:
Tracking your Batches
Now that you have created Batches, you can track all transactions that include a specific batch.
1. Open the Batches menu from Product & Services > Products:
From this page, erplain will list all the Batch IDs that you have created:
2. Then click on any Batch ID to open the related transactions. erplain will list, by category, all the transactions with this Batch ID. In the example below, all the invoices with this ID:
Simply click on the other categories to open the related transactions.
Stock Adjustments for products with Batches
If you need to make manual stock adjustments for products with Batches, please use Stock entries and Stock removals as it is the only way to preserve a reliable traceability of your products. For this reason, updating the quantity of products with Batches from the 'Inventory bulk update' page is disabled:
Bundles and Assemblies with Batch products
You can include Products with Batches as part of your Bundles. When you transform the Bundle, you will have the ability to select the Batch ID:
You can also create the Batch ID directly from this page when you create the bundle:
For more information on batches and how they can help you tracking goods, we recommend you to check the article Traceability and why it's important for your business.