dolibarr 18.0.6
|
Parent class to manage numbering of batch products. More...
Public Member Functions | |
isEnabled () | |
Return if a module can be used or not. | |
info () | |
Returns the default description of the numbering template. | |
getExample () | |
Returns an example of numbering. | |
canBeActivated () | |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. | |
getNextValue ($objsoc, $object) | |
Returns next assigned value. | |
getVersion () | |
Returns version of numbering module. | |
Parent class to manage numbering of batch products.
Definition at line 70 of file modules_product_batch.class.php.
ModeleNumRefBatch::canBeActivated | ( | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Reimplemented in mod_lot_standard, and mod_sn_standard.
Definition at line 117 of file modules_product_batch.class.php.
ModeleNumRefBatch::getExample | ( | ) |
Returns an example of numbering.
Reimplemented in mod_lot_advanced, mod_lot_standard, mod_sn_advanced, and mod_sn_standard.
Definition at line 104 of file modules_product_batch.class.php.
ModeleNumRefBatch::getNextValue | ( | $objsoc, | |
$object ) |
Returns next assigned 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.
Definition at line 129 of file modules_product_batch.class.php.
ModeleNumRefBatch::getVersion | ( | ) |
Returns version of numbering module.
Definition at line 140 of file modules_product_batch.class.php.
ModeleNumRefBatch::info | ( | ) |
Returns the default description of the numbering template.
Reimplemented in mod_lot_advanced, mod_lot_free, mod_lot_standard, mod_sn_advanced, mod_sn_free, and mod_sn_standard.
Definition at line 92 of file modules_product_batch.class.php.
ModeleNumRefBatch::isEnabled | ( | ) |
Return if a module can be used or not.
Definition at line 82 of file modules_product_batch.class.php.