dolibarr 19.0.3
|
Classe du modele de numerotation de reference de bon de livraison Jade. More...
Public Member Functions | |
info ($langs) | |
Returns the description of the numbering model. | |
getExample () | |
Return an example of numbering. | |
canBeActivated ($object) | |
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. | |
delivery_get_num ($objsoc=0, $object='') | |
Return next free ref. | |
Public Member Functions inherited from CommonNumRefGenerator | |
getNom ($langs) | |
Return model name TODO Replace with getName() | |
getName ($langs) | |
Return model name. | |
isEnabled () | |
Return if a module can be used or not. | |
getVersion () | |
Returns version of numbering module. | |
Classe du modele de numerotation de reference de bon de livraison Jade.
Definition at line 35 of file mod_delivery_jade.php.
mod_delivery_jade::canBeActivated | ( | $object | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Object | $object | Object we need next value for |
Reimplemented from CommonNumRefGenerator.
Definition at line 92 of file mod_delivery_jade.php.
mod_delivery_jade::delivery_get_num | ( | $objsoc = 0, | |
$object = '' ) |
Return next free ref.
Societe | $objsoc | Object thirdparty |
Object | $object | Object livraison |
Definition at line 181 of file mod_delivery_jade.php.
References getNextValue().
mod_delivery_jade::getExample | ( | ) |
Return an example of numbering.
Definition at line 80 of file mod_delivery_jade.php.
mod_delivery_jade::getNextValue | ( | $objsoc, | |
$object ) |
Return next free value.
Societe | $objsoc | Object thirdparty |
Object | $object | Object we need next value for |
Definition at line 132 of file mod_delivery_jade.php.
References dol_now(), dol_print_date(), and dol_syslog().
Referenced by delivery_get_num().
mod_delivery_jade::info | ( | $langs | ) |
Returns the description of the numbering model.
Translate | $langs | Lang object to use for output |
Reimplemented from CommonNumRefGenerator.
Definition at line 69 of file mod_delivery_jade.php.