dolibarr  17.0.4
Public Member Functions | List of all members
ModeleNumRefCommandes Class Reference

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

Inheritance diagram for ModeleNumRefCommandes:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

Parent class to manage numbering of Sale Orders.

Definition at line 71 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 118 of file modules_commande.php.

◆ getExample()

ModeleNumRefCommandes::getExample ( )

Renvoie un exemple de numerotation.

Returns
string Example

Reimplemented in mod_commande_saphir, and mod_commande_marbre.

Definition at line 105 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_saphir, and mod_commande_marbre.

Definition at line 130 of file modules_commande.php.

◆ getVersion()

ModeleNumRefCommandes::getVersion ( )

Returns version of numbering module.

Returns
string Valeur

Definition at line 141 of file modules_commande.php.

◆ info()

ModeleNumRefCommandes::info ( )

Renvoie la description par defaut du modele de numerotation.

Returns
string Texte descripif

Reimplemented in mod_commande_saphir, and mod_commande_marbre.

Definition at line 93 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 83 of file modules_commande.php.


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