dolibarr 18.0.6
mod_delivery_jade Class Reference

Classe du modele de numerotation de reference de bon de livraison Jade. More...

Inheritance diagram for mod_delivery_jade:
Collaboration diagram for mod_delivery_jade:

Public Member Functions

 info ()
 Returns the description of the numbering model.
 
 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, $object)
 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.
 
 getVersion ()
 Renvoi version du module numerotation.
 

Detailed Description

Classe du modele de numerotation de reference de bon de livraison Jade.

Definition at line 35 of file mod_delivery_jade.php.

Member Function Documentation

◆ canBeActivated()

mod_delivery_jade::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 from ModeleNumRefDeliveryOrder.

Definition at line 90 of file mod_delivery_jade.php.

◆ delivery_get_num()

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

Return next free ref.

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

Definition at line 179 of file mod_delivery_jade.php.

References getNextValue().

◆ getExample()

mod_delivery_jade::getExample ( )

Return an example of numbering.

Returns
string Example

Reimplemented from ModeleNumRefDeliveryOrder.

Definition at line 79 of file mod_delivery_jade.php.

◆ getNextValue()

mod_delivery_jade::getNextValue ( $objsoc,
$object )

Return next free value.

Parameters
Societe$objsocObject thirdparty
Object$objectObject we need next value for
Returns
string Value if KO, <0 if KO

Reimplemented from ModeleNumRefDeliveryOrder.

Definition at line 130 of file mod_delivery_jade.php.

References dol_now(), and dol_syslog().

Referenced by delivery_get_num().

◆ info()

mod_delivery_jade::info ( )

Returns the description of the numbering model.

Returns
string Descriptive text

Reimplemented from ModeleNumRefDeliveryOrder.

Definition at line 68 of file mod_delivery_jade.php.


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