dolibarr 18.0.6
|
Class to manage expedition numbering rules Safor. More...
Public Member Functions | |
info () | |
Return default description of numbering model. | |
getExample () | |
Return numbering example. | |
canBeActivated () | |
Test if existing numbers make problems with numbering. | |
getNextValue ($objsoc, $shipment) | |
Return next value. | |
expedition_get_num ($objsoc, $objforref) | |
Return next free value. | |
Public Member Functions inherited from ModelNumRefExpedition | |
isEnabled () | |
Return if a model can be used or not. | |
getVersion () | |
Returns version of the numbering model. | |
Class to manage expedition numbering rules Safor.
Definition at line 29 of file mod_expedition_safor.php.
mod_expedition_safor::canBeActivated | ( | ) |
Test if existing numbers make problems with numbering.
Reimplemented from ModelNumRefExpedition.
Definition at line 85 of file mod_expedition_safor.php.
mod_expedition_safor::expedition_get_num | ( | $objsoc, | |
$objforref ) |
Return next free value.
Societe | $objsoc | Third party object |
Object | $objforref | Shipment object |
Definition at line 166 of file mod_expedition_safor.php.
References getNextValue().
mod_expedition_safor::getExample | ( | ) |
Return numbering example.
Reimplemented from ModelNumRefExpedition.
Definition at line 74 of file mod_expedition_safor.php.
mod_expedition_safor::getNextValue | ( | $objsoc, | |
$shipment ) |
Return next value.
Societe | $objsoc | Third party object |
Object | $shipment | Shipment object |
Reimplemented from ModelNumRefExpedition.
Definition at line 122 of file mod_expedition_safor.php.
References dol_syslog().
Referenced by expedition_get_num().
mod_expedition_safor::info | ( | ) |
Return default description of numbering model.
Reimplemented from ModelNumRefExpedition.
Definition at line 62 of file mod_expedition_safor.php.