dolibarr
x.y.z
|
Class to manage accountancy code of thirdparties with Digitaria rules. More...
Public Member Functions | |
__construct () | |
Constructor. | |
info ($langs) | |
Return description of module. More... | |
getExample ($langs, $objsoc=0, $type=-1) | |
Return an example of result returned by getNextValue. More... | |
get_code ($db, $societe, $type='') | |
Set accountancy account code for a third party into this->code. More... | |
checkIfAccountancyCodeIsAlreadyUsed ($db, $code, $type='') | |
Check accountancy account code for a third party into this->code. More... | |
Public Member Functions inherited from ModeleAccountancyCode | |
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... | |
Class to manage accountancy code of thirdparties with Digitaria rules.
Definition at line 33 of file mod_codecompta_digitaria.php.
mod_codecompta_digitaria::checkIfAccountancyCodeIsAlreadyUsed | ( | $db, | |
$code, | |||
$type = '' |
|||
) |
Check accountancy account code for a third party into this->code.
DoliDB | $db | Database handler |
string | $code | Code of third party |
int | $type | 'customer' or 'supplier' |
Definition at line 276 of file mod_codecompta_digitaria.php.
mod_codecompta_digitaria::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 from ModeleAccountancyCode.
Definition at line 187 of file mod_codecompta_digitaria.php.
mod_codecompta_digitaria::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 from ModeleAccountancyCode.
Definition at line 161 of file mod_codecompta_digitaria.php.
mod_codecompta_digitaria::info | ( | $langs | ) |
Return description of module.
Translate | $langs | Object langs |
Reimplemented from ModeleAccountancyCode.
Definition at line 92 of file mod_codecompta_digitaria.php.