dolibarr  9.0.0
Public Member Functions | List of all members
ModeleNumRefSuppliersInvoices Class Reference

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

+ Inheritance diagram for ModeleNumRefSuppliersInvoices:

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)
 Returns next value assigned. More...
 
 getVersion ()
 Returns version of the model numbering. More...
 

Detailed Description

Parent Class of numbering models of suppliers invoices references.

Definition at line 69 of file modules_facturefournisseur.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefSuppliersInvoices::canBeActivated ( )

Tests if the numbers already in force in the database do not cause conflicts that would prevent this numbering.

Returns
boolean false if conflict, true if ok

Definition at line 111 of file modules_facturefournisseur.php.

◆ getExample()

ModeleNumRefSuppliersInvoices::getExample ( )

Returns a numbering example.

Returns
string Example

Definition at line 100 of file modules_facturefournisseur.php.

◆ getNextValue()

ModeleNumRefSuppliersInvoices::getNextValue (   $objsoc,
  $object,
  $mode 
)

Returns next value assigned.

Parameters
Societe$objsocObject third party
Object$objectObject
string$mode'next' for next value or 'last' for last value
Returns
string Value if OK, 0 if KO

Definition at line 123 of file modules_facturefournisseur.php.

◆ getVersion()

ModeleNumRefSuppliersInvoices::getVersion ( )

Returns version of the model numbering.

Returns
string Value

Definition at line 133 of file modules_facturefournisseur.php.

◆ info()

ModeleNumRefSuppliersInvoices::info ( )

Returns the default description of the model numbering.

Returns
string Description Text

Definition at line 89 of file modules_facturefournisseur.php.

◆ isEnabled()

ModeleNumRefSuppliersInvoices::isEnabled ( )

Return if a model can be used or not.

Returns
boolean true if model can be used

Definition at line 80 of file modules_facturefournisseur.php.


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