dolibarr 18.0.6
mod_commande_fournisseur_muguet Class Reference

Classe du modele de numerotation de reference de commande fournisseur Muguet. More...

Inheritance diagram for mod_commande_fournisseur_muguet:
Collaboration diagram for mod_commande_fournisseur_muguet:

Public Member Functions

 __construct ()
 Constructor.
 
 info ()
 Return description of numbering module.
 
 getExample ()
 Return an example of numbering.
 
 canBeActivated ()
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
 
 getNextValue ($objsoc=0, $object='')
 Return next value.
 
 commande_get_num ($objsoc=0, $object='')
 Renvoie la reference de commande suivante non utilisee.
 
- Public Member Functions inherited from ModeleNumRefSuppliersOrders
 isEnabled ()
 Return if a model can be used or not.
 
 getVersion ()
 Returns version of the numbering model.
 

Detailed Description

Classe du modele de numerotation de reference de commande fournisseur Muguet.

Definition at line 32 of file mod_commande_fournisseur_muguet.php.

Member Function Documentation

◆ canBeActivated()

mod_commande_fournisseur_muguet::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 from ModeleNumRefSuppliersOrders.

Definition at line 101 of file mod_commande_fournisseur_muguet.php.

◆ commande_get_num()

mod_commande_fournisseur_muguet::commande_get_num ( $objsoc = 0,
$object = '' )

Renvoie la reference de commande suivante non utilisee.

Parameters
Societe$objsocObject third party
Object$objectObject
Returns
string Descriptive text

Definition at line 183 of file mod_commande_fournisseur_muguet.php.

References getNextValue().

◆ getExample()

mod_commande_fournisseur_muguet::getExample ( )

Return an example of numbering.

Returns
string Example

Reimplemented from ModeleNumRefSuppliersOrders.

Definition at line 89 of file mod_commande_fournisseur_muguet.php.

◆ getNextValue()

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

Return next value.

Parameters
Societe$objsocObject third party
Object$objectObject
Returns
string Value if OK, 0 if KO

Reimplemented from ModeleNumRefSuppliersOrders.

Definition at line 137 of file mod_commande_fournisseur_muguet.php.

Referenced by commande_get_num().

◆ info()

mod_commande_fournisseur_muguet::info ( )

Return description of numbering module.

Returns
string Text with description

Reimplemented from ModeleNumRefSuppliersOrders.

Definition at line 77 of file mod_commande_fournisseur_muguet.php.


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