dolibarr
x.y.z
|
Parent class for third parties accountancy code generators. More...
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 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_panicum, mod_codecompta_digitaria, and mod_codecompta_aquarium.
Definition at line 394 of file modules_societe.class.php.
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_panicum, mod_codecompta_digitaria, and mod_codecompta_aquarium.
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.
ModeleAccountancyCode::getVersion | ( | ) |
Return version of module.
Definition at line 326 of file modules_societe.class.php.
ModeleAccountancyCode::info | ( | $langs | ) |
Return description of module.
Translate | $langs | Object langs |
Reimplemented in mod_codecompta_panicum, mod_codecompta_digitaria, and mod_codecompta_aquarium.
Definition at line 290 of file modules_societe.class.php.