| 
    dolibarr 20.0.5
    
   | 
 
Class to manage accountancy code of thirdparties with Panicum rules. More...


Public Member Functions | |
| __construct () | |
| Constructor.  | |
| info ($langs) | |
| Return description of module.   | |
| getExample ($langs, $objsoc='', $type=-1) | |
| Return an example of result returned by getNextValue.   | |
| get_code ($db, $societe, $type='') | |
| Set accountancy account code for a third party into this->code.   | |
  Public Member Functions inherited from ModeleAccountancyCode | |
| getToolTip ($langs, $soc, $type) | |
| Return description of module parameters.   | |
  Public Member Functions inherited from CommonNumRefGenerator | |
| getNom ($langs) | |
| Return model name.   | |
| getName ($langs) | |
| Return model name.   | |
| isEnabled () | |
| Return if a module can be used or not.   | |
| canBeActivated ($object) | |
| Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.   | |
| getVersion () | |
| Returns version of numbering module.   | |
Class to manage accountancy code of thirdparties with Panicum rules.
Definition at line 32 of file mod_codecompta_panicum.php.
| mod_codecompta_panicum::get_code | ( | $db, | |
| $societe, | |||
| $type = '' ) | 
Set accountancy account code for a third party into this->code.
| DoliDB | $db | Database handler | 
| Societe | $societe | Third party object | 
| string | $type | 'customer' or 'supplier' | 
Reimplemented from ModeleAccountancyCode.
Definition at line 94 of file mod_codecompta_panicum.php.
| mod_codecompta_panicum::getExample | ( | $langs, | |
| $objsoc = '', | |||
| $type = -1 ) | 
Return an example of result returned by getNextValue.
| Translate | $langs | Object langs | 
| Societe | string | $objsoc | Object thirdparty | 
| int | $type | Type of third party (1:customer, 2:supplier, -1:autodetect) | 
Definition at line 80 of file mod_codecompta_panicum.php.
| mod_codecompta_panicum::info | ( | $langs | ) | 
Return description of module.
| Translate | $langs | Object langs | 
Reimplemented from CommonNumRefGenerator.
Definition at line 67 of file mod_codecompta_panicum.php.
References name.