dolibarr 18.0.6
ModeleNumRefSupplierProposal Class Reference

Classe mere des modeles de numerotation des references de propales. More...

Inheritance diagram for ModeleNumRefSupplierProposal:

Public Member Functions

 isEnabled ()
 Return if a module can be used or not.
 
 info ()
 Returns the default description of the numbering pattern.
 
 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, $supplier_proposal)
 Renvoi prochaine valeur attribuee.
 
 getVersion ()
 Renvoi version du module numerotation.
 

Detailed Description

Classe mere des modeles de numerotation des references de propales.

Definition at line 70 of file modules_supplier_proposal.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefSupplierProposal::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 in mod_supplier_proposal_marbre.

Definition at line 120 of file modules_supplier_proposal.php.

◆ getExample()

ModeleNumRefSupplierProposal::getExample ( )

Return an example of numbering.

Returns
string Example

Reimplemented in mod_supplier_proposal_marbre, and mod_supplier_proposal_saphir.

Definition at line 107 of file modules_supplier_proposal.php.

◆ getNextValue()

ModeleNumRefSupplierProposal::getNextValue ( $objsoc,
$supplier_proposal )

Renvoi prochaine valeur attribuee.

Parameters
Societe$objsocObject third party
SupplierProposal$supplier_proposalObject commercial proposal
Returns
string Valeur

Reimplemented in mod_supplier_proposal_marbre, and mod_supplier_proposal_saphir.

Definition at line 132 of file modules_supplier_proposal.php.

◆ getVersion()

ModeleNumRefSupplierProposal::getVersion ( )

Renvoi version du module numerotation.

Returns
string Valeur

Definition at line 143 of file modules_supplier_proposal.php.

◆ info()

ModeleNumRefSupplierProposal::info ( )

Returns the default description of the numbering pattern.

Returns
string Descriptive text

Reimplemented in mod_supplier_proposal_marbre, and mod_supplier_proposal_saphir.

Definition at line 95 of file modules_supplier_proposal.php.

◆ isEnabled()

ModeleNumRefSupplierProposal::isEnabled ( )

Return if a module can be used or not.

Returns
boolean true if module can be used

Definition at line 85 of file modules_supplier_proposal.php.


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