dolibarr 19.0.4
|
Class to manage ref numbering of takepos cards with rule universal. More...
Public Member Functions | |
info ($langs) | |
return description of the numbering model | |
getExample () | |
Return an example of numbering. | |
getNextValue ($objsoc=null, $invoice=null, $mode='next') | |
Return next free value. | |
getNumRef ($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 ref numbering of takepos cards with rule universal.
Definition at line 35 of file mod_takepos_ref_universal.php.
mod_takepos_ref_universal::getExample | ( | ) |
Return an example of numbering.
Definition at line 101 of file mod_takepos_ref_universal.php.
References getNextValue().
mod_takepos_ref_universal::getNextValue | ( | $objsoc = null, | |
$invoice = null, | |||
$mode = 'next' ) |
Return next free value.
Societe | $objsoc | Object thirdparty |
Facture | $invoice | Object invoice |
string | $mode | 'next' for next value or 'last' for last value |
Definition at line 124 of file mod_takepos_ref_universal.php.
References dol_now(), get_next_value(), getDolGlobalString(), and getEntity().
Referenced by getExample(), and getNumRef().
mod_takepos_ref_universal::getNumRef | ( | $objsoc, | |
$objforref ) |
Return next free value.
Societe | $objsoc | Object third party |
Object | $objforref | Object for number to search |
Definition at line 157 of file mod_takepos_ref_universal.php.
References getNextValue().
mod_takepos_ref_universal::info | ( | $langs | ) |
return description of the numbering model
Translate | $langs | Lang object to use for output |
Reimplemented from CommonNumRefGenerator.
Definition at line 60 of file mod_takepos_ref_universal.php.
References getDolGlobalString().