|
dolibarr
13.0.2
|
Manage the different format accountancy export. More...
Collaboration diagram for AccountancyExport:Public Member Functions | |
| __construct (DoliDB &$db) | |
| Constructor. More... | |
| export (&$TData, $formatexportset) | |
| Function who chose which export to use with the default config, and make the export into a file. More... | |
| exportCegid ($objectLines) | |
| Export format : CEGID. More... | |
| exportCogilog ($objectLines) | |
| Export format : COGILOG. More... | |
| exportCoala ($objectLines) | |
| Export format : COALA. More... | |
| exportBob50 ($objectLines) | |
| Export format : BOB50. More... | |
| exportCiel (&$TData) | |
| Export format : CIEL. More... | |
| exportQuadratus (&$TData) | |
| Export format : Quadratus. More... | |
| exportWinfic (&$TData) | |
| Export format : WinFic - eWinfic - WinSis Compta. More... | |
| exportEbp ($objectLines) | |
| Export format : EBP. More... | |
| exportAgiris ($objectLines) | |
| Export format : Agiris Isacompta. More... | |
| exportOpenConcerto ($objectLines) | |
| Export format : OpenConcerto. More... | |
| exportConfigurable ($objectLines) | |
| Export format : Configurable CSV. More... | |
| exportFEC ($objectLines) | |
| Export format : FEC. More... | |
| exportFEC2 ($objectLines) | |
| Export format : FEC2. More... | |
| exportSAGE50SWISS ($objectLines) | |
| Export format : SAGE50SWISS. More... | |
| exportLDCompta ($objectLines) | |
| Export format : LD Compta version 9 http://www.ldsysteme.fr/fileadmin/telechargement/np/ldcompta/Documentation/IntCptW9.pdf. More... | |
| exportLDCompta10 ($objectLines) | |
| Export format : LD Compta version 10 & higher http://www.ldsysteme.fr/fileadmin/telechargement/np/ldcompta/Documentation/IntCptW10.pdf. More... | |
| exportCharlemagne ($objectLines) | |
| Export format : Charlemagne. More... | |
| exportGestimumV3 ($objectLines) | |
| Export format : Gestimum V3. More... | |
| exportGestimumV5 ($objectLines) | |
| Export format : Gestimum V5. More... | |
Static Public Member Functions | |
| static | getType () |
| Array with all export type available (key + label) More... | |
| static | getFormatCode ($type) |
| Return string to summarize the format (Used to generated export filename) More... | |
| static | getTypeConfig () |
| Array with all export type available (key + label) and parameters for config. More... | |
| static | trunc ($str, $size) |
| trunc More... | |
| static | toAnsi ($str, $size=-1) |
| toAnsi More... | |
Manage the different format accountancy export.
Definition at line 42 of file accountancyexport.class.php.
| AccountancyExport::__construct | ( | DoliDB & | $db | ) |
Constructor.
| DoliDb | $db | Database handler |
Definition at line 88 of file accountancyexport.class.php.
References db.
| AccountancyExport::export | ( | & | $TData, |
| $formatexportset | |||
| ) |
Function who chose which export to use with the default config, and make the export into a file.
| array | $TData | Array with data |
| int | $formatexportset | Id of export format |
Definition at line 266 of file accountancyexport.class.php.
References exportAgiris(), exportBob50(), exportCegid(), exportCharlemagne(), exportCiel(), exportCoala(), exportCogilog(), exportConfigurable(), exportEbp(), exportFEC(), exportFEC2(), exportGestimumV3(), exportGestimumV5(), exportLDCompta(), exportLDCompta10(), exportOpenConcerto(), exportQuadratus(), exportSAGE50SWISS(), and exportWinfic().
| AccountancyExport::exportAgiris | ( | $objectLines | ) |
Export format : Agiris Isacompta.
| array | $objectLines | data |
Definition at line 725 of file accountancyexport.class.php.
References dol_print_date(), length_accounta(), length_accountg(), price(), and print.
Referenced by export().
| AccountancyExport::exportBob50 | ( | $objectLines | ) |
Export format : BOB50.
| array | $objectLines | data |
Definition at line 436 of file accountancyexport.class.php.
References dol_print_date(), dol_trunc(), length_accounta(), length_accountg(), price(), and print.
Referenced by export().
| AccountancyExport::exportCegid | ( | $objectLines | ) |
Export format : CEGID.
| array | $objectLines | data |
Definition at line 350 of file accountancyexport.class.php.
References dol_print_date(), dol_string_unaccent(), length_accounta(), length_accountg(), price2fec(), and print.
Referenced by export().
| AccountancyExport::exportCharlemagne | ( | $objectLines | ) |
Export format : Charlemagne.
| array | $objectLines | data |
Definition at line 1561 of file accountancyexport.class.php.
References dol_print_date(), price(), and print.
Referenced by export().
| AccountancyExport::exportCiel | ( | & | $TData | ) |
Export format : CIEL.
| array | $TData | data |
Definition at line 474 of file accountancyexport.class.php.
References dol_now(), dol_print_date(), dol_string_unaccent(), and print.
Referenced by export().
| AccountancyExport::exportCoala | ( | $objectLines | ) |
Export format : COALA.
| array | $objectLines | data |
Definition at line 408 of file accountancyexport.class.php.
References dol_print_date(), length_accounta(), length_accountg(), price(), and print.
Referenced by export().
| AccountancyExport::exportCogilog | ( | $objectLines | ) |
Export format : COGILOG.
| array | $objectLines | data |
Definition at line 375 of file accountancyexport.class.php.
References dol_print_date(), length_accountg(), price(), and print.
Referenced by export().
| AccountancyExport::exportConfigurable | ( | $objectLines | ) |
Export format : Configurable CSV.
| array | $objectLines | data |
Definition at line 795 of file accountancyexport.class.php.
References dol_print_date(), length_accounta(), length_accountg(), price2num(), and print.
Referenced by export().
| AccountancyExport::exportEbp | ( | $objectLines | ) |
Export format : EBP.
| array | $objectLines | data |
Definition at line 690 of file accountancyexport.class.php.
References dol_print_date(), price2num(), and print.
Referenced by export().
| AccountancyExport::exportFEC | ( | $objectLines | ) |
Export format : FEC.
| array | $objectLines | data |
Definition at line 826 of file accountancyexport.class.php.
References dol_print_date(), dol_string_unaccent(), price2fec(), and print.
Referenced by export().
| AccountancyExport::exportFEC2 | ( | $objectLines | ) |
Export format : FEC2.
| array | $objectLines | data |
Definition at line 927 of file accountancyexport.class.php.
References dol_print_date(), dol_string_unaccent(), price2fec(), and print.
Referenced by export().
| AccountancyExport::exportGestimumV3 | ( | $objectLines | ) |
Export format : Gestimum V3.
| array | $objectLines | data |
Definition at line 1622 of file accountancyexport.class.php.
References $resql, db, dol_print_date(), dol_trunc(), length_accountg(), price2num(), and print.
Referenced by export().
| AccountancyExport::exportGestimumV5 | ( | $objectLines | ) |
Export format : Gestimum V5.
| array | $objectLines | data |
Definition at line 1720 of file accountancyexport.class.php.
References dol_print_date(), dol_trunc(), length_accountg(), price2num(), and print.
Referenced by export().
| AccountancyExport::exportLDCompta | ( | $objectLines | ) |
Export format : LD Compta version 9 http://www.ldsysteme.fr/fileadmin/telechargement/np/ldcompta/Documentation/IntCptW9.pdf.
| array | $objectLines | data |
Definition at line 1163 of file accountancyexport.class.php.
References dol_print_date(), length_accounta(), length_accountg(), price(), and print.
Referenced by export().
| AccountancyExport::exportLDCompta10 | ( | $objectLines | ) |
Export format : LD Compta version 10 & higher http://www.ldsysteme.fr/fileadmin/telechargement/np/ldcompta/Documentation/IntCptW10.pdf.
| array | $objectLines | data |
Definition at line 1295 of file accountancyexport.class.php.
References $resql, db, dol_print_date(), dol_trunc(), getCountry(), length_accounta(), length_accountg(), price(), and print.
Referenced by export().
| AccountancyExport::exportOpenConcerto | ( | $objectLines | ) |
Export format : OpenConcerto.
| array | $objectLines | data |
Definition at line 764 of file accountancyexport.class.php.
References dol_print_date(), length_accounta(), length_accountg(), price(), and print.
Referenced by export().
| AccountancyExport::exportQuadratus | ( | & | $TData | ) |
Export format : Quadratus.
| array | $TData | data |
Definition at line 514 of file accountancyexport.class.php.
References dol_print_date(), dol_string_unaccent(), and print.
Referenced by export().
| AccountancyExport::exportSAGE50SWISS | ( | $objectLines | ) |
Export format : SAGE50SWISS.
https://onlinehelp.sageschweiz.ch/default.aspx?tabid=19984 http://media.topal.ch/Public/Schnittstellen/TAF/Specification/Sage50-TAF-format.pdf
| array | $objectLines | data |
Definition at line 1032 of file accountancyexport.class.php.
References dol_print_date(), length_accounta(), length_accountg(), and print.
Referenced by export().
| AccountancyExport::exportWinfic | ( | & | $TData | ) |
Export format : WinFic - eWinfic - WinSis Compta.
| array | $TData | data |
Definition at line 611 of file accountancyexport.class.php.
References dol_print_date(), dol_string_unaccent(), and print.
Referenced by export().
|
static |
Return string to summarize the format (Used to generated export filename)
| int | $type | Format id |
Definition at line 139 of file accountancyexport.class.php.
|
static |
Array with all export type available (key + label)
Definition at line 102 of file accountancyexport.class.php.
|
static |
Array with all export type available (key + label) and parameters for config.
Definition at line 171 of file accountancyexport.class.php.
|
static |
toAnsi
| string | $str | Original string to encode and optionaly truncate |
| integer | $size | Truncate string after $size characters |
Definition at line 1773 of file accountancyexport.class.php.
References dol_string_nohtmltag().
|
static |
trunc
| string | $str | String |
| integer | $size | Data to trunc |
Definition at line 1761 of file accountancyexport.class.php.
References dol_trunc().