dolibarr 21.0.0-beta
ModeleNumRefSuppliersOrders Class Reference

Parent Class of numbering models of supplier order references. More...

Inheritance diagram for ModeleNumRefSuppliersOrders:
Collaboration diagram for ModeleNumRefSuppliersOrders:

Public Member Functions

 getNextValue ($objsoc, $object)
 Return next value.
 
 getExample ()
 Return an example of numbering.
 
- 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.
 
 info ($langs)
 Returns the default description of the numbering template.
 
 canBeActivated ($object)
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
 
 getVersion ()
 Returns version of numbering module.
 

Detailed Description

Parent Class of numbering models of supplier order references.

Definition at line 100 of file modules_commandefournisseur.php.

Member Function Documentation

◆ getExample()

ModeleNumRefSuppliersOrders::getExample ( )
abstract

Return an example of numbering.

Returns
string Example

Reimplemented in mod_commande_fournisseur_muguet, and mod_commande_fournisseur_orchidee.

◆ getNextValue()

ModeleNumRefSuppliersOrders::getNextValue ( $objsoc,
$object )
abstract

Return next value.

Parameters
Societe | string$objsocObject third party
CommandeFournisseur$objectObject
Returns
string|int<-1,0> Value if OK, <=0 if KO

Reimplemented in mod_commande_fournisseur_muguet, and mod_commande_fournisseur_orchidee.


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