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


Public Member Functions | |
| 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. | |
| getExample ($langs=null, $objsoc='', $type=-1) | |
| Return an example of result returned by getNextValue. | |
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. | |
| info ($langs) | |
| Returns the default description of the numbering template. | |
| 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. | |
Parent class for third parties accountancy code generators.
Definition at line 245 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 |
| 'customer'|'supplier'|'' | $type 'customer' or 'supplier' |
Reimplemented in mod_codecompta_aquarium, mod_codecompta_digitaria, and mod_codecompta_panicum.
Definition at line 302 of file modules_societe.class.php.
References dol_syslog().
Referenced by getToolTip().
|
abstract |
Return an example of result returned by getNextValue.
| ?Translate | $langs | Object langs |
| Societe | string | $objsoc | Object thirdparty |
| int<-1,2> | $type Type of third party (1:customer, 2:supplier, -1:autodetect) |
Reimplemented in mod_codecompta_aquarium, mod_codecompta_digitaria, and mod_codecompta_panicum.
| ModeleAccountancyCode::getToolTip | ( | $langs, | |
| $soc, | |||
| $type ) |
Return description of module parameters.
| Translate | $langs | Output language |
| ?Societe | $soc | Third party object |
| int<-1,1> | $type -1=Nothing, 0=Customer, 1=Supplier |
Definition at line 260 of file modules_societe.class.php.
References get_code(), CommonNumRefGenerator\getVersion(), and name.