dolibarr 18.0.6
ModeleNumRefSuppliersOrders Class Reference

Parent Class of numbering models of suppliers orders references. More...

Inheritance diagram for ModeleNumRefSuppliersOrders:

Public Member Functions

 isEnabled ()
 Return if a model can be used or not.
 
 info ()
 Returns default description of numbering model.
 
 getExample ()
 Returns a numbering example.
 
 canBeActivated ()
 Tests if existing numbers make problems with numbering.
 
 getNextValue ($objsoc=0, $object='')
 Returns next value assigned.
 
 getVersion ()
 Returns version of the numbering model.
 

Detailed Description

Parent Class of numbering models of suppliers orders references.

Definition at line 89 of file modules_commandefournisseur.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefSuppliersOrders::canBeActivated ( )

Tests if existing numbers make problems with numbering.

Returns
boolean false if conflict, true if ok

Reimplemented in mod_commande_fournisseur_muguet.

Definition at line 134 of file modules_commandefournisseur.php.

◆ getExample()

ModeleNumRefSuppliersOrders::getExample ( )

Returns a numbering example.

Returns
string Example

Reimplemented in mod_commande_fournisseur_muguet, and mod_commande_fournisseur_orchidee.

Definition at line 123 of file modules_commandefournisseur.php.

◆ getNextValue()

ModeleNumRefSuppliersOrders::getNextValue ( $objsoc = 0,
$object = '' )

Returns next value assigned.

Parameters
Societe$objsocObject third party
Object$objectObject
Returns
string Valeur

Reimplemented in mod_commande_fournisseur_muguet, and mod_commande_fournisseur_orchidee.

Definition at line 145 of file modules_commandefournisseur.php.

◆ getVersion()

ModeleNumRefSuppliersOrders::getVersion ( )

Returns version of the numbering model.

Returns
string Value

Definition at line 155 of file modules_commandefournisseur.php.

◆ info()

ModeleNumRefSuppliersOrders::info ( )

Returns default description of numbering model.

Returns
string Description Text

Reimplemented in mod_commande_fournisseur_muguet, and mod_commande_fournisseur_orchidee.

Definition at line 112 of file modules_commandefournisseur.php.

◆ isEnabled()

ModeleNumRefSuppliersOrders::isEnabled ( )

Return if a model can be used or not.

Returns
boolean true if model can be used

Definition at line 103 of file modules_commandefournisseur.php.


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