|
dolibarr 21.0.4
|
Parent class to manage numbering of batch products. More...


Public Member Functions | |
| getNextValue ($objsoc, $object) | |
| Return next free value. | |
| getExample () | |
| Return an example of numbering. | |
Public Member Functions inherited from CommonNumRefGenerator | |
| getNom ($langs) | |
| Return model name. | |
| getName ($langs) | |
| Return model name. | |
| isEnabled () | |
| Return if a module can be used or not. | |
| info ($langs) | |
| Returns the default description of the numbering template. | |
| canBeActivated ($object) | |
| Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. | |
| getVersion () | |
| Returns version of numbering module. | |
Parent class to manage numbering of batch products.
Definition at line 82 of file modules_product_batch.class.php.
|
abstract |
Return an example of numbering.
Reimplemented in mod_lot_advanced, mod_lot_free, mod_lot_standard, mod_sn_advanced, mod_sn_free, and mod_sn_standard.
|
abstract |
Return next free value.
| ?Societe | $objsoc | Object thirdparty |
| ?Productlot | $object | Object we need next value for |
Reimplemented in mod_lot_advanced, mod_lot_free, mod_lot_standard, mod_sn_advanced, mod_sn_free, and mod_sn_standard.