|
dolibarr
13.0.2
|
Parent class for third parties accountancy code generators. More...
Inheritance diagram for ModeleAccountancyCode:Public Member Functions | |
| info ($langs) | |
| Return description of module. More... | |
| getExample ($langs, $objsoc=0, $type=-1) | |
| Return an example of result returned by getNextValue. More... | |
| canBeActivated () | |
| Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. More... | |
| getVersion () | |
| Return version of module. More... | |
| getToolTip ($langs, $soc, $type) | |
| Return description of module parameters. More... | |
| get_code ($db, $societe, $type= '') | |
| Set accountancy account code for a third party into this->code. More... | |
Parent class for third parties accountancy code generators.
Definition at line 277 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 317 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' |
Definition at line 395 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) |
Definition at line 305 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 353 of file modules_societe.class.php.
References get_code(), getVersion(), and name.
| ModeleAccountancyCode::getVersion | ( | ) |
Return version of module.
Definition at line 327 of file modules_societe.class.php.
Referenced by getToolTip().
| ModeleAccountancyCode::info | ( | $langs | ) |
Return description of module.
| Translate | $langs | Object langs |
Definition at line 291 of file modules_societe.class.php.