dolibarr 19.0.3
|
Class to manage expedition numbering rules Ribera. More...
Public Member Functions | |
info ($langs) | |
Return default description of numbering model. | |
getExample () | |
Return numbering example. | |
getNextValue ($objsoc, $shipment) | |
Return next value. | |
expedition_get_num ($objsoc, $objforref) | |
Return next free value. | |
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. | |
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. | |
Class to manage expedition numbering rules Ribera.
Definition at line 31 of file mod_expedition_ribera.php.
mod_expedition_ribera::expedition_get_num | ( | $objsoc, | |
$objforref ) |
Return next free value.
Societe | $objsoc | Third party object |
Object | $objforref | Shipment object |
Definition at line 151 of file mod_expedition_ribera.php.
References getNextValue().
mod_expedition_ribera::getExample | ( | ) |
Return numbering example.
Definition at line 98 of file mod_expedition_ribera.php.
References getNextValue().
mod_expedition_ribera::getNextValue | ( | $objsoc, | |
$shipment ) |
Return next value.
Societe | $objsoc | Third party object |
Object | $shipment | Shipment object |
Definition at line 123 of file mod_expedition_ribera.php.
References get_next_value(), and getDolGlobalString().
Referenced by expedition_get_num(), and getExample().
mod_expedition_ribera::info | ( | $langs | ) |
Return default description of numbering model.
Translate | $langs | Lang object to use for output |
Reimplemented from CommonNumRefGenerator.
Definition at line 62 of file mod_expedition_ribera.php.
References getDolGlobalString().