dolibarr
x.y.z
|
Parent Class of numbering models of suppliers invoices references. More...
Public Member Functions | |
isEnabled () | |
Return if a model can be used or not. More... | |
info () | |
Returns the default description of the model numbering. More... | |
getExample () | |
Returns a numbering example. More... | |
canBeActivated () | |
Tests if the numbers already in force in the database do not cause conflicts that would prevent this numbering. More... | |
getNextValue ($objsoc, $object, $mode='next') | |
Returns next value assigned. More... | |
getVersion () | |
Returns version of the model numbering. More... | |
Parent Class of numbering models of suppliers invoices references.
Definition at line 67 of file modules_facturefournisseur.php.
ModeleNumRefSuppliersInvoices::canBeActivated | ( | ) |
Tests if the numbers already in force in the database do not cause conflicts that would prevent this numbering.
Reimplemented in mod_facture_fournisseur_cactus.
Definition at line 109 of file modules_facturefournisseur.php.
ModeleNumRefSuppliersInvoices::getExample | ( | ) |
Returns a numbering example.
Reimplemented in mod_facture_fournisseur_tulip, and mod_facture_fournisseur_cactus.
Definition at line 98 of file modules_facturefournisseur.php.
ModeleNumRefSuppliersInvoices::getNextValue | ( | $objsoc, | |
$object, | |||
$mode = 'next' |
|||
) |
Returns next value assigned.
Societe | $objsoc | Object third party |
Object | $object | Object |
string | $mode | 'next' for next value or 'last' for last value |
Reimplemented in mod_facture_fournisseur_tulip, and mod_facture_fournisseur_cactus.
Definition at line 121 of file modules_facturefournisseur.php.
ModeleNumRefSuppliersInvoices::getVersion | ( | ) |
Returns version of the model numbering.
Definition at line 131 of file modules_facturefournisseur.php.
ModeleNumRefSuppliersInvoices::info | ( | ) |
Returns the default description of the model numbering.
Reimplemented in mod_facture_fournisseur_tulip, and mod_facture_fournisseur_cactus.
Definition at line 87 of file modules_facturefournisseur.php.
ModeleNumRefSuppliersInvoices::isEnabled | ( | ) |
Return if a model can be used or not.
Definition at line 78 of file modules_facturefournisseur.php.