dolibarr 18.0.6
ModeleNumRefCommandes Class Reference

Parent class to manage numbering of Sale Orders. More...

Inheritance diagram for ModeleNumRefCommandes:

Public Member Functions

 isEnabled ()
 Return if a module can be used or not.
 
 info ()
 Returns the default description of the numbering pattern.
 
 getExample ()
 Renvoie un exemple de numerotation.
 
 canBeActivated ()
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
 
 getNextValue ($objsoc, $object)
 Returns next assigned value.
 
 getVersion ()
 Returns version of numbering module.
 

Detailed Description

Parent class to manage numbering of Sale Orders.

Definition at line 86 of file modules_commande.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefCommandes::canBeActivated ( )

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

Returns
boolean false if conflict, true if ok

Reimplemented in mod_commande_marbre.

Definition at line 133 of file modules_commande.php.

◆ getExample()

ModeleNumRefCommandes::getExample ( )

Renvoie un exemple de numerotation.

Returns
string Example

Reimplemented in mod_commande_marbre, and mod_commande_saphir.

Definition at line 120 of file modules_commande.php.

◆ getNextValue()

ModeleNumRefCommandes::getNextValue ( $objsoc,
$object )

Returns next assigned value.

Parameters
Societe$objsocObject thirdparty
Object$objectObject we need next value for
Returns
string Valeur

Reimplemented in mod_commande_marbre, and mod_commande_saphir.

Definition at line 145 of file modules_commande.php.

◆ getVersion()

ModeleNumRefCommandes::getVersion ( )

Returns version of numbering module.

Returns
string Valeur

Definition at line 156 of file modules_commande.php.

◆ info()

ModeleNumRefCommandes::info ( )

Returns the default description of the numbering pattern.

Returns
string Descriptive text

Reimplemented in mod_commande_marbre, and mod_commande_saphir.

Definition at line 108 of file modules_commande.php.

◆ isEnabled()

ModeleNumRefCommandes::isEnabled ( )

Return if a module can be used or not.

Returns
boolean true if module can be used

Definition at line 98 of file modules_commande.php.


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