|
dolibarr 18.0.8
|
Parent class for third parties accountancy code generators. More...

Public Member Functions | |
| info ($langs) | |
| Return description of module. | |
| getExample ($langs, $objsoc=0, $type=-1) | |
| Return an example of result returned by getNextValue. | |
| canBeActivated () | |
| Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. | |
| getVersion () | |
| Return version of module. | |
| getToolTip ($langs, $soc, $type) | |
| Return description of module parameters. | |
| get_code ($db, $societe, $type='') | |
| Set accountancy account code for a third party into this->code. | |
Parent class for third parties accountancy code generators.
Definition at line 276 of file modules_societe.class.php.
| ModeleAccountancyCode::canBeActivated | ( | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Definition at line 316 of file modules_societe.class.php.
| ModeleAccountancyCode::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 |
| int | $type | 'customer' or 'supplier' |
Reimplemented in mod_codecompta_aquarium, mod_codecompta_digitaria, and mod_codecompta_panicum.
Definition at line 394 of file modules_societe.class.php.
Referenced by getToolTip().
| ModeleAccountancyCode::getExample | ( | $langs, | |
| $objsoc = 0, | |||
| $type = -1 ) |
Return an example of result returned by getNextValue.
| Translate | $langs | Object langs |
| societe | $objsoc | Object thirdparty |
| int | $type | Type of third party (1:customer, 2:supplier, -1:autodetect) |
Reimplemented in mod_codecompta_aquarium, mod_codecompta_digitaria, and mod_codecompta_panicum.
Definition at line 304 of file modules_societe.class.php.
| ModeleAccountancyCode::getToolTip | ( | $langs, | |
| $soc, | |||
| $type ) |
Return description of module parameters.
| Translate | $langs | Output language |
| Societe | $soc | Third party object |
| int | $type | -1=Nothing, 0=Customer, 1=Supplier |
Definition at line 352 of file modules_societe.class.php.
References get_code(), getVersion(), and name.
| ModeleAccountancyCode::getVersion | ( | ) |
Return version of module.
Definition at line 326 of file modules_societe.class.php.
Referenced by getToolTip().
| ModeleAccountancyCode::info | ( | $langs | ) |
Return description of module.
| Translate | $langs | Object langs |
Reimplemented in mod_codecompta_aquarium, mod_codecompta_digitaria, and mod_codecompta_panicum.
Definition at line 290 of file modules_societe.class.php.