dolibarr 18.0.6
|
Class to manage Sales Order numbering rules Marbre. More...
Public Member Functions | |
__construct () | |
Constructor. | |
info () | |
Return description of numbering module. | |
getExample () | |
Return 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) | |
Return next free value. | |
commande_get_num ($objsoc, $objforref) | |
Return next free value. | |
Public Member Functions inherited from ModeleNumRefCommandes | |
isEnabled () | |
Return if a module can be used or not. | |
getVersion () | |
Returns version of numbering module. | |
Class to manage Sales Order numbering rules Marbre.
Definition at line 30 of file mod_commande_marbre.php.
mod_commande_marbre::canBeActivated | ( | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Reimplemented from ModeleNumRefCommandes.
Definition at line 92 of file mod_commande_marbre.php.
mod_commande_marbre::commande_get_num | ( | $objsoc, | |
$objforref ) |
Return next free value.
Societe | $objsoc | Object third party |
string | $objforref | Object for number to search |
Definition at line 176 of file mod_commande_marbre.php.
References getNextValue().
mod_commande_marbre::getExample | ( | ) |
Return an example of numbering.
Reimplemented from ModeleNumRefCommandes.
Definition at line 80 of file mod_commande_marbre.php.
mod_commande_marbre::getNextValue | ( | $objsoc, | |
$object ) |
Return next free value.
Societe | $objsoc | Object thirdparty |
Object | $object | Object we need next value for |
Reimplemented from ModeleNumRefCommandes.
Definition at line 129 of file mod_commande_marbre.php.
References dol_syslog().
Referenced by commande_get_num().
mod_commande_marbre::info | ( | ) |
Return description of numbering module.
Reimplemented from ModeleNumRefCommandes.
Definition at line 68 of file mod_commande_marbre.php.