dolibarr  7.0.0-beta
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 65 of file modules_facturefournisseur.php.

Member Function Documentation

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 104 of file modules_facturefournisseur.php.

ModeleNumRefSuppliersInvoices::getExample ( )

Returns a numbering example.

Returns
string Example

Definition at line 93 of file modules_facturefournisseur.php.

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 116 of file modules_facturefournisseur.php.

ModeleNumRefSuppliersInvoices::getVersion ( )

Returns version of the model numbering.

Returns
string Value

Definition at line 126 of file modules_facturefournisseur.php.

ModeleNumRefSuppliersInvoices::info ( )

Returns the default description of the model numbering.

Returns
string Description Text

Definition at line 82 of file modules_facturefournisseur.php.

ModeleNumRefSuppliersInvoices::isEnabled ( )

Return if a model can be used or not.

Returns
boolean true if model can be used

Definition at line 73 of file modules_facturefournisseur.php.


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