dolibarr 20.0.2
mod_delivery_jade Class Reference

Class du modele de numerotation de reference de bon de livraison Jade. More...

Inheritance diagram for mod_delivery_jade:
Collaboration diagram for mod_delivery_jade:

Public Member Functions

 info ($langs)
 Returns the description of the numbering model.
 
 getExample ()
 Return an example of numbering.
 
 canBeActivated ($object)
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
 
 getNextValue ($objsoc, $object)
 Return next free value.
 
- Public Member Functions inherited from CommonNumRefGenerator
 getNom ($langs)
 Return model name.
 
 getName ($langs)
 Return model name.
 
 isEnabled ()
 Return if a module can be used or not.
 
 getVersion ()
 Returns version of numbering module.
 

Detailed Description

Class du modele de numerotation de reference de bon de livraison Jade.

Definition at line 37 of file mod_delivery_jade.php.

Member Function Documentation

◆ canBeActivated()

mod_delivery_jade::canBeActivated ( $object)

Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.

Parameters
CommonObject$objectObject we need next value for
Returns
boolean false if conflict, true if ok

Reimplemented from CommonNumRefGenerator.

Definition at line 94 of file mod_delivery_jade.php.

◆ getExample()

mod_delivery_jade::getExample ( )

Return an example of numbering.

Returns
string Example

Definition at line 82 of file mod_delivery_jade.php.

◆ getNextValue()

mod_delivery_jade::getNextValue ( $objsoc,
$object )

Return next free value.

Parameters
Societe$objsocObject thirdparty
Delivery$objectObject we need next value for
Returns
string|-1 Value if OK, -1 if KO

Definition at line 134 of file mod_delivery_jade.php.

References $object, dol_now(), dol_print_date(), and dol_syslog().

◆ info()

mod_delivery_jade::info ( $langs)

Returns the description of the numbering model.

Parameters
Translate$langsLang object to use for output
Returns
string Descriptive text

Reimplemented from CommonNumRefGenerator.

Definition at line 71 of file mod_delivery_jade.php.


The documentation for this class was generated from the following file: