ExportEbp2010.json

From OpenFlyers Documentation
Jump to navigation Jump to search

<javascript>{

 "outputFormat":{
   "contentType":"text\/plain",
   "charset":"ISO-8859-15",
   "filePrefix":"ecriture_",
   "fileExtension":"txt",
   "converter":"ISO"
 },
 "field":[
   {
     "name":"flow_id"
   },
   {
     "name":"converted_account_date",
     "format":{
       "name":"formatDate",
       "parameter":[
         "DDMMYY"
       ]
     }
   },
   {
     "name":"paper",
     "format":{
       "name":"accountJournal",
       "defaultJournal":"OD",
       "parameter":[{
           "6":"AC",
           "7":"VE",
           "51":"BQ",
           "53":"CA"
           }]
     }
   },
   {
     "name":"export_account",
     "format":{
       "name":"formatText",
       "removeChar":","
     }
   },
   {
     "text":""
   },
   {
     "name":"account_entry_description",
     "format":{
       "name":"formatText",
       "appendText":"\"",
       "prependText":"\""
     }
   },
   {
     "name":"flow_id",
     "format":{
       "name":"formatText",
       "appendText":"\"",
       "prependText":"\"OF",
       "leftPadding":"0",
       "size":3
     }
   },
   {
     "name":"debit",
     "format":{
       "name":"formatNumber",
       "parameter":[
         "%0.2f"
       ]
     },
     "if":{
       "leftPart":"debit",
       "operator":">",
       "rightPart":"0"
     }
   },
   {
     "text":"D",
     "if":{
       "leftPart":"debit",
       "operator":">",
       "rightPart":"0"
     }
   },
   {
     "name":"credit",
     "format":{
       "name":"formatNumber",
       "parameter":[
         "%0.2f"
       ]
     },
     "if":{
       "leftPart":"debit",
       "operator":"==",
       "rightPart":"0"
     }
   },
   {
     "text":"C",
     "if":{
       "leftPart":"debit",
       "operator":"==",
       "rightPart":"0"
     }
   },
   {
     "text":""
   },
   {
     "text":""
   }
 ],
 "separator":",",
 "endLine":"\n"

}</javascript>