dolibarr 18.0.6
mod_delivery_saphir Class Reference

Classe du modele de numerotation de reference de livraison Saphir. More...

Inheritance diagram for mod_delivery_saphir:
Collaboration diagram for mod_delivery_saphir:

Public Member Functions

 info ()
 Returns the description of the numbering model.
 
 getExample ()
 Return an example of number.
 
 getNextValue ($objsoc, $object)
 Return next value.
 
 getNumRef ($objsoc, $objforref)
 Return next free value.
 
 delivery_get_num ($objsoc=0, $object='')
 Return next free ref.
 
- Public Member Functions inherited from ModeleNumRefDeliveryOrder
 isEnabled ()
 Return if a module can be used or not.
 
 canBeActivated ()
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
 
 getVersion ()
 Renvoi version du module numerotation.
 

Detailed Description

Classe du modele de numerotation de reference de livraison Saphir.

Definition at line 32 of file mod_delivery_saphir.php.

Member Function Documentation

◆ delivery_get_num()

mod_delivery_saphir::delivery_get_num ( $objsoc = 0,
$object = '' )

Return next free ref.

Parameters
Societe$objsocObject thirdparty
Object$objectObjet livraison
Returns
string Descriptive text

Definition at line 167 of file mod_delivery_saphir.php.

References getNextValue().

◆ getExample()

mod_delivery_saphir::getExample ( )

Return an example of number.

Returns
string Example

Reimplemented from ModeleNumRefDeliveryOrder.

Definition at line 103 of file mod_delivery_saphir.php.

References getNextValue().

◆ getNextValue()

mod_delivery_saphir::getNextValue ( $objsoc,
$object )

Return next value.

Parameters
Societe$objsocObject third party
Object$objectObject delivery
Returns
string Value if OK, 0 if KO

Reimplemented from ModeleNumRefDeliveryOrder.

Definition at line 126 of file mod_delivery_saphir.php.

References get_next_value(), and getDolGlobalString().

Referenced by delivery_get_num(), getExample(), and getNumRef().

◆ getNumRef()

mod_delivery_saphir::getNumRef ( $objsoc,
$objforref )

Return next free value.

Parameters
Societe$objsocObject third party
string$objforrefObject for number to search
Returns
string Next free value

Definition at line 153 of file mod_delivery_saphir.php.

References getNextValue().

◆ info()

mod_delivery_saphir::info ( )

Returns the description of the numbering model.

Returns
string Descriptive text

Reimplemented from ModeleNumRefDeliveryOrder.

Definition at line 63 of file mod_delivery_saphir.php.

References getDolGlobalString().


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