|
dolibarr
16.0.1
|
Class to manage MO numbering rules standard. More...
Inheritance diagram for mod_sn_standard:
Collaboration diagram for mod_sn_standard:Public Member Functions | |
| info () | |
| Return description of numbering module. More... | |
| getExample () | |
| Return an example of numbering. More... | |
| canBeActivated () | |
| Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. More... | |
| getNextValue ($objsoc, $object) | |
| Return next free value. More... | |
Public Member Functions inherited from ModeleNumRefBatch | |
| isEnabled () | |
| Return if a module can be used or not. More... | |
| info () | |
| Returns the default description of the numbering template. More... | |
| getExample () | |
| Returns an example of numbering. More... | |
| canBeActivated () | |
| Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. More... | |
| getNextValue ($objsoc, $object) | |
| Returns next assigned value. More... | |
| getVersion () | |
| Returns version of numbering module. More... | |
Class to manage MO numbering rules standard.
Definition at line 31 of file mod_sn_standard.php.
| mod_sn_standard::canBeActivated | ( | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Definition at line 81 of file mod_sn_standard.php.
References $resql.
| mod_sn_standard::getExample | ( | ) |
Return an example of numbering.
Definition at line 69 of file mod_sn_standard.php.
| mod_sn_standard::getNextValue | ( | $objsoc, | |
| $object | |||
| ) |
Return next free value.
| Societe | $objsoc | Object thirdparty |
| Object | $object | Object we need next value for |
Definition at line 118 of file mod_sn_standard.php.
References $resql, dol_now(), and dol_syslog().
| mod_sn_standard::info | ( | ) |
Return description of numbering module.
Definition at line 57 of file mod_sn_standard.php.