Module Lot / Serial
Module Lot / Serial | |
---|---|
Numero/ID of module | 39000 |
User doc. of module | This page |
Developer doc. of module | Module Lot / Serial (developer) |
Introduction
ProductBatch module allow user to manage the following fields:
- Serial number
- Sell-by date = Shelf life expiration date = Use by (foods must be removed from store after this date)
- Eat-by date = Best Before date = Best if Used By = Best by (eat-by-date is often > sell-by-date)
This module extends Module Stocks En.
Installation
This module is included with the Dolibarr distribution, so there is no need to install it.
Configuration
To use this module, you must first enable it using an administrator account, via the menu option "Home - Setup - Modules".
Choose the tab where the module is listed. Then click on "Activate".
The module is now activated.
If a cog icon appears on module thumb or at end of the line of the module, click on it to access the setup page specific to the module.
There is no setup for this module but you will need at least to configure decreasing / increasing option in stock module for good operation.
- Stock decrease : on shipment validation
- Stock increase : on manual dispatch
Usage
On a product, you can decide if the product need a lot or a unique serial numero. If you set a product to need such a number (whatever is a lot or a serial number), no stock movement will be allowed if you don't enter also this number/numero.
The first time a lot/serial is known by Dolibarr, this lot/serial is recorded into table llx_product_lot with the date of creation. This record will remain indefinitely into this table. Also if you enter a Sell-by date or a Eat-by date, this date(s) will also be recorded into this table. This date are specific to a lot. So when making future stock movement, you don't have to re-enter this dates, the lot/serial number is enough. If you try to make a stock movement with an already existing lot and you try to force the Date Sell-by or Eat-by with a different date, the stock movement will be denied. Dates are expected only the first time a new lot appear, then they must be similar to the one defined the first time, or they must not be provided.