dolibarr
x.y.z
|
Manage the different format accountancy export. More...
Public Member Functions | |
__construct (DoliDB $db) | |
Constructor. More... | |
getType () | |
Array with all export type available (key + label) More... | |
getTypeConfig () | |
Array with all export type available (key + label) and parameters for config. More... | |
getMimeType ($formatexportset) | |
Return the MIME type of a file. More... | |
export (&$TData, $formatexportset, $withAttachment=0) | |
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 (Format XIMPORT) Format since 2003 compatible CIEL version > 2002 / Sage50 Last review for this format : 2021-09-13 Alexandre Spangaro (aspan) garo @open -dsi .frMore... | |
exportQuadratus (&$TData, $exportFile=null, $archiveFileList=array(), $withAttachment=0) | |
Export format : Quadratus (Format ASCII) Format since 2015 compatible QuadraCOMPTA Last review for this format : 2021/09/13 Alexandre Spangaro (aspan) garo @open -dsi .frMore... | |
exportWinfic (&$TData) | |
Export format : WinFic - eWinfic - WinSis Compta Last review for this format : 2022-11-01 Alexandre Spangaro (aspan) garo @open -dsi .frMore... | |
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 Last review for this format : 08-15-2021 Alexandre Spangaro (aspan) garo @open -dsi .frMore... | |
exportCharlemagne ($objectLines) | |
Export format : Charlemagne. More... | |
exportGestimumV3 ($objectLines) | |
Export format : Gestimum V3. More... | |
exportGestimumV5 ($objectLines) | |
Export format : Gestimum V5. More... | |
exportiSuiteExpert ($objectLines) | |
Export format : iSuite Expert. More... | |
Static Public Member Functions | |
static | getFormatCode ($type) |
Return string to summarize the format (Used to generated export filename) More... | |
static | trunc ($str, $size) |
trunc More... | |
static | toAnsi ($str, $size=-1) |
toAnsi More... | |
Manage the different format accountancy export.
Definition at line 47 of file accountancyexport.class.php.
AccountancyExport::__construct | ( | DoliDB | $db | ) |
Constructor.
DoliDb | $db | Database handler |
Definition at line 99 of file accountancyexport.class.php.
AccountancyExport::export | ( | & | $TData, |
$formatexportset, | |||
$withAttachment = 0 |
|||
) |
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 |
int | $withAttachment | [=0] Not add files or 1 to have attached in an archive (ex : Quadratus) |
Definition at line 322 of file accountancyexport.class.php.
AccountancyExport::exportAgiris | ( | $objectLines | ) |
Export format : Agiris Isacompta.
array | $objectLines | data |
Definition at line 1011 of file accountancyexport.class.php.
AccountancyExport::exportBob50 | ( | $objectLines | ) |
Export format : BOB50.
array | $objectLines | data |
Definition at line 600 of file accountancyexport.class.php.
AccountancyExport::exportCegid | ( | $objectLines | ) |
Export format : CEGID.
array | $objectLines | data |
Definition at line 514 of file accountancyexport.class.php.
AccountancyExport::exportCharlemagne | ( | $objectLines | ) |
Export format : Charlemagne.
array | $objectLines | data |
Definition at line 1897 of file accountancyexport.class.php.
AccountancyExport::exportCiel | ( | & | $TData | ) |
Export format : CIEL (Format XIMPORT) Format since 2003 compatible CIEL version > 2002 / Sage50 Last review for this format : 2021-09-13 Alexandre Spangaro (aspan) garo @open -dsi .fr
Help : https://sage50c.online-help.sage.fr/aide-technique/ In sage software | Use menu : "Exchange" > "Importing entries..."
If you want to force filename to "XIMPORT.TXT" for automatically import file present in a directory : use constant ACCOUNTING_EXPORT_XIMPORT_FORCE_FILENAME
array | $TData | data |
Definition at line 646 of file accountancyexport.class.php.
AccountancyExport::exportCoala | ( | $objectLines | ) |
Export format : COALA.
array | $objectLines | data |
Definition at line 572 of file accountancyexport.class.php.
AccountancyExport::exportCogilog | ( | $objectLines | ) |
Export format : COGILOG.
array | $objectLines | data |
Definition at line 539 of file accountancyexport.class.php.
AccountancyExport::exportConfigurable | ( | $objectLines | ) |
Export format : Configurable CSV.
array | $objectLines | data |
Definition at line 1081 of file accountancyexport.class.php.
AccountancyExport::exportEbp | ( | $objectLines | ) |
Export format : EBP.
array | $objectLines | data |
Definition at line 976 of file accountancyexport.class.php.
AccountancyExport::exportFEC | ( | $objectLines | ) |
Export format : FEC.
array | $objectLines | data |
Definition at line 1112 of file accountancyexport.class.php.
AccountancyExport::exportFEC2 | ( | $objectLines | ) |
Export format : FEC2.
array | $objectLines | data |
Definition at line 1243 of file accountancyexport.class.php.
AccountancyExport::exportGestimumV3 | ( | $objectLines | ) |
Export format : Gestimum V3.
array | $objectLines | data |
Definition at line 1961 of file accountancyexport.class.php.
AccountancyExport::exportGestimumV5 | ( | $objectLines | ) |
Export format : Gestimum V5.
array | $objectLines | data |
Definition at line 2059 of file accountancyexport.class.php.
AccountancyExport::exportiSuiteExpert | ( | $objectLines | ) |
Export format : iSuite Expert.
by OpenSolus [https://opensolus.fr]
array | $objectLines | data |
Definition at line 2102 of file accountancyexport.class.php.
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 1498 of file accountancyexport.class.php.
AccountancyExport::exportLDCompta10 | ( | $objectLines | ) |
Export format : LD Compta version 10 & higher Last review for this format : 08-15-2021 Alexandre Spangaro (aspan) garo @open -dsi .fr
Help : http://www.ldsysteme.fr/fileadmin/telechargement/np/ldcompta/Documentation/IntCptW10.pdf
array | $objectLines | data |
Definition at line 1632 of file accountancyexport.class.php.
AccountancyExport::exportOpenConcerto | ( | $objectLines | ) |
Export format : OpenConcerto.
array | $objectLines | data |
Definition at line 1050 of file accountancyexport.class.php.
AccountancyExport::exportQuadratus | ( | & | $TData, |
$exportFile = null , |
|||
$archiveFileList = array() , |
|||
$withAttachment = 0 |
|||
) |
Export format : Quadratus (Format ASCII) Format since 2015 compatible QuadraCOMPTA Last review for this format : 2021/09/13 Alexandre Spangaro (aspan) garo @open -dsi .fr
Help : https://docplayer.fr/20769649-Fichier-d-entree-ascii-dans-quadracompta.html In QuadraCompta | Use menu : "Outils" > "Suivi des dossiers" > "Import ASCII(Compta)"
array | $TData | Data |
resource | $exportFile | [=null] File resource to export or print if null |
array | $archiveFileList | [=array()] Archive file list : array of ['path', 'name'] |
bool | $withAttachment | [=0] Not add files or 1 to have attached in an archive |
Definition at line 696 of file accountancyexport.class.php.
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 1379 of file accountancyexport.class.php.
AccountancyExport::exportWinfic | ( | & | $TData | ) |
Export format : WinFic - eWinfic - WinSis Compta Last review for this format : 2022-11-01 Alexandre Spangaro (aspan) garo @open -dsi .fr
array | $TData | data |
Definition at line 890 of file accountancyexport.class.php.
|
static |
Return string to summarize the format (Used to generated export filename)
int | $type | Format id |
Definition at line 157 of file accountancyexport.class.php.
AccountancyExport::getMimeType | ( | $formatexportset | ) |
Return the MIME type of a file.
int | $formatexportset | Id of export format |
Definition at line 298 of file accountancyexport.class.php.
AccountancyExport::getType | ( | ) |
Array with all export type available (key + label)
Definition at line 115 of file accountancyexport.class.php.
AccountancyExport::getTypeConfig | ( | ) |
Array with all export type available (key + label) and parameters for config.
Definition at line 195 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 2168 of file accountancyexport.class.php.
References dol_string_nohtmltag().
|
static |
trunc
string | $str | String |
integer | $size | Data to trunc |
Definition at line 2156 of file accountancyexport.class.php.
References dol_trunc().