dolibarr  7.0.0-beta
Public Member Functions | List of all members
ModelNumRefExpedition Class Reference

Parent Class of numbering models of sending receipts references. More...

+ Inheritance diagram for ModelNumRefExpedition:

Public Member Functions

 isEnabled ()
 Return if a model can be used or not. More...
 
 info ()
 Return default description of numbering model. More...
 
 getExample ()
 Returns numbering example. More...
 
 canBeActivated ()
 Test if existing numbers make problems with numbering. More...
 
 getNextValue ($objsoc, $shipment)
 Returns next value assigned. More...
 
 getVersion ()
 Returns version of the numbering model. More...
 

Detailed Description

Parent Class of numbering models of sending receipts references.

Definition at line 67 of file modules_expedition.php.

Member Function Documentation

ModelNumRefExpedition::canBeActivated ( )

Test if existing numbers make problems with numbering.

Returns
boolean false if conflit, true if ok

Definition at line 109 of file modules_expedition.php.

ModelNumRefExpedition::getExample ( )

Returns numbering example.

Returns
string Example

Definition at line 97 of file modules_expedition.php.

ModelNumRefExpedition::getNextValue (   $objsoc,
  $shipment 
)

Returns next value assigned.

Parameters
Societe$objsocThird party object
Object$shipmentShipment object
Returns
string Value

Definition at line 121 of file modules_expedition.php.

ModelNumRefExpedition::getVersion ( )

Returns version of the numbering model.

Returns
string Value

Definition at line 132 of file modules_expedition.php.

ModelNumRefExpedition::info ( )

Return default description of numbering model.

Returns
string text description

Definition at line 85 of file modules_expedition.php.

ModelNumRefExpedition::isEnabled ( )

Return if a model can be used or not.

Returns
boolean true if model can be used

Definition at line 75 of file modules_expedition.php.


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