|
dolibarr
13.0.2
|
Class to manage expensereport numbering rules Jade. More...
Inheritance diagram for mod_expensereport_jade:
Collaboration diagram for mod_expensereport_jade:Public Member Functions | |
| info () | |
| Return description of numbering model. 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 ($object) | |
| Return next free value. More... | |
Public Member Functions inherited from ModeleNumRefExpenseReport | |
| isEnabled () | |
| Return if a model can be used or not. More... | |
| info () | |
| Returns the default description of the numbering model. More... | |
| getExample () | |
| Returns an example of numbering. More... | |
| canBeActivated () | |
| Test whether the numbers already in force in the base do not cause conflicts that would prevent this numbering working. More... | |
| getNextValue ($object) | |
| Returns next assigned value. More... | |
| getVersion () | |
| Returns the version of the numbering module. More... | |
Class to manage expensereport numbering rules Jade.
Definition at line 29 of file mod_expensereport_jade.php.
| mod_expensereport_jade::canBeActivated | ( | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Definition at line 86 of file mod_expensereport_jade.php.
References $resql.
| mod_expensereport_jade::getExample | ( | ) |
Returns an example of numbering.
Definition at line 74 of file mod_expensereport_jade.php.
| mod_expensereport_jade::getNextValue | ( | $object | ) |
Return next free value.
| Object | $object | Object we need next value for |
Definition at line 120 of file mod_expensereport_jade.php.
References $resql, dol_print_error(), dol_syslog(), and dolGetFirstLastname().
| mod_expensereport_jade::info | ( | ) |
Return description of numbering model.
Definition at line 62 of file mod_expensereport_jade.php.