dolibarr  17.0.0
Public Member Functions | List of all members
mod_delivery_jade Class Reference

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

Inheritance diagram for mod_delivery_jade:
Inheritance graph
[legend]
Collaboration diagram for mod_delivery_jade:
Collaboration graph
[legend]

Public Member Functions

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

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 Texte descriptif

Definition at line 179 of file mod_delivery_jade.php.

◆ 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.

◆ info()

mod_delivery_jade::info ( )

Returns the description of the numbering model.

Returns
string Texte descripif

Reimplemented from ModeleNumRefDeliveryOrder.

Definition at line 68 of file mod_delivery_jade.php.


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