dolibarr  17.0.4
Public Member Functions | List of all members
mod_lot_free Class Reference

Class allowing lot_free management of batch numbers. More...

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

Public Member Functions

 __construct ()
 Constructor.
 
 info ()
 Return description of module. More...
 
 getNextValue ($objsoc, $object)
 Return an example of result returned by getNextValue. More...
 
- Public Member Functions inherited from ModeleNumRefBatch
 isEnabled ()
 Return if a module can be used or not. More...
 
 getExample ()
 Returns 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...
 
 getVersion ()
 Returns version of numbering module. More...
 

Detailed Description

Class allowing lot_free management of batch numbers.

Definition at line 33 of file mod_lot_free.php.

Member Function Documentation

◆ getNextValue()

mod_lot_free::getNextValue (   $objsoc,
  $object 
)

Return an example of result returned by getNextValue.

Parameters
Societe$objsocObject thirdparty
Productlot$objectObject we need next value for
Returns
string Return next value

Reimplemented from ModeleNumRefBatch.

Definition at line 103 of file mod_lot_free.php.

◆ info()

mod_lot_free::info ( )

Return description of module.

Returns
string Description of module

Reimplemented from ModeleNumRefBatch.

Definition at line 88 of file mod_lot_free.php.


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