mod_knowledgerecord_advanced
class mod_knowledgerecord_advanced extends ModeleNumRefKnowledgeRecord (View source)
Class to manage customer Bom numbering rules advanced
Properties
| string | $error | ||
| string | $name | ||
| string | $version | Dolibarr version of the loaded document |
Methods
Returns the default description of the numbering template
Return an example of numbering
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Return next free value
Details
bool
isEnabled()
Return if a module can be used or not
string
info($langs)
Returns the default description of the numbering template
@param Translate $langs Object langs
string
getExample()
Return an example of numbering
@return string Example
bool
canBeActivated(object $object)
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
string|int<-1, 0>
getNextValue($object)
Return next free value
@param KnowledgeRecord $object Object we need next value for
string
getVersion()
Returns version of numbering module