ImportCsvBREDWithSemicolon.json: Difference between revisions
Jump to navigation
Jump to search
imported>Eberthomieu (Page créée avec « =Présentation= Cette page contient le modèle d'Utilisation-de-la-comptabilité#Importer-un-relevé-bancaire|import... ») |
imported>Nsanch |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
=Présentation= | =Présentation= | ||
=Modèle= | =Modèle= | ||
Line 8: | Line 6: | ||
"contentType" : "text\/csv", | "contentType" : "text\/csv", | ||
"charset" : "ISO-8859-15", | "charset" : "ISO-8859-15", | ||
" | "nbLineHeader" : "1", | ||
"regex" : "/^([^;]*);(?:[^;]*);(?:[^;]*);(?:[^;]*);(?:[^;]*);([^;]*);(?:[^;]*);( | "nbLineFooter" : "0", | ||
"regex" : "/^([^;]*);(?:[^;]*);(?:[^;]*);(?:[^;]*);(?:[^;]*);([^;]*);(?:[^;]*);(.*)/i" | |||
}, | }, | ||
"field" : [ | "field" : [ |
Latest revision as of 11:11, 11 December 2020
Présentation
Modèle
<javascript>{
"inputFormat" : { "contentType" : "text\/csv", "charset" : "ISO-8859-15", "nbLineHeader" : "1", "nbLineFooter" : "0", "regex" : "/^([^;]*);(?:[^;]*);(?:[^;]*);(?:[^;]*);(?:[^;]*);([^;]*);(?:[^;]*);(.*)/i" }, "field" : [ { "name" : "account_entry_date", "format" : { "name" : "formatDate", "parameter" : [ "DD/MM/YYYY" ] } }, { "name" : "account_entry_amount" }, { "name" : "account_entry_comment" } ]
}</javascript>