23require_once DOL_DOCUMENT_ROOT.
'/core/modules/inventory/modules_inventory.php';
35 public $version =
'dolibarr';
45 public $name =
'leaf';
50 public $position = 20;
59 public function info($langs)
62 $langs->load(
"stocks");
63 return $langs->trans(
"InventoryNumRefFreeDesc");
75 return $langs->trans(
"InventoryRefTypedManually");
if(! $sortfield) if(! $sortorder) $object
Parent class to manage numbering of Inventory.
Class to manage the free numbering rule for Inventory (the reference is typed manually)
canBeActivated($object)
Checks if the numbers already in the database do not cause conflicts that would prevent this numberin...
getExample()
Return an example of numbering.
info($langs)
Return description of numbering module.
getNextValue($object)
Return next free value: empty string, the user types the reference.