dolibarr 18.0.6
|
Class to manage customer Bom numbering rules advanced. More...
Public Member Functions | |
info () | |
Returns the description of the numbering model. | |
getExample () | |
Return an example of numbering. | |
getNextValue ($object) | |
Return next free value. | |
Public Member Functions inherited from ModeleNumRefAsset | |
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 customer Bom numbering rules advanced.
Definition at line 34 of file mod_asset_advanced.php.
mod_asset_advanced::getExample | ( | ) |
Return an example of numbering.
Reimplemented from ModeleNumRefAsset.
Definition at line 98 of file mod_asset_advanced.php.
References getNextValue().
mod_asset_advanced::getNextValue | ( | $object | ) |
Return next free value.
Asset | $object | Object we need next value for |
Reimplemented from ModeleNumRefAsset.
Definition at line 119 of file mod_asset_advanced.php.
References get_next_value(), and getDolGlobalString().
Referenced by getExample().
mod_asset_advanced::info | ( | ) |
Returns the description of the numbering model.
Reimplemented from ModeleNumRefAsset.
Definition at line 58 of file mod_asset_advanced.php.
References getDolGlobalString().