ExportCiel XImport.json

From OpenFlyers Documentation
Revision as of 11:10, 5 February 2021 by imported>Lelhidam
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<javascript>{

 "outputFormat":{
   "contentType":"text\/plain",
   "charset":"cp850",
   "filePrefix":"xImport_",
   "fileExtension":"txt",
   "converter":"ISO2ASCII"
 },
 "field":[
   {
     "name":"flow_id",
     "format":{
       "name":"formatNumber",
       "parameter":[
         "%5.0f"
       ],
       "size":-5
     }
   },
   {
     "name":"paper",
     "format":{
       "name":"accountJournal",
       "defaultJournal":"OD",
       "parameter":[{
           "51":"BQ",
           "53":"CA",
           "7":"VT"
           }]
     }
   },
   {
     "name":"converted_account_date",
     "format":{
       "name":"formatDate",
       "parameter":[
         "YYYYMMDD"
       ]
     }
   },
   {
       "text":"",
       "format":{
         "name":"formatText",
         "rightPadding":" ",
         "size":8
       }
   },
   {
       "text":"",
       "format":{
         "name":"formatText",
         "rightPadding":" ",
         "size":12
       }
   },
   {
     "name":"export_account",
     "format":{
       "name":"formatText",
       "rightPadding":" ",
       "size":11
     }
   },
   {
     "name":"account_entry_comments",
     "format":{
       "name":"formatText",
       "rightPadding":" ",
       "size":25
     }
   },
   {
     "name":"debit",
     "format":{
       "name":"formatNumber",
       "parameter":[
         "%013.2f"
       ]
     },
     "if":{
       "leftPart":"debit",
       "operator":">",
       "rightPart":"0"
     }
   },
   {
     "text":"D",
     "if":{
       "leftPart":"debit",
       "operator":">",
       "rightPart":"0"
     }
   },
   {
     "name":"credit",
     "format":{
       "name":"formatNumber",
       "parameter":[
         "%013.2f"
       ]
     },
     "if":{
       "leftPart":"debit",
       "operator":"==",
       "rightPart":"0"
     }
   },
   {
     "text":"C",
     "if":{
       "leftPart":"debit",
       "operator":"==",
       "rightPart":"0"
     }
   },
   {
       "text":"",
       "format":{
         "name":"formatText",
         "rightPadding":" ",
         "size":12
       }
   },
   {
       "text":"",
       "format":{
         "name":"formatText",
         "rightPadding":" ",
         "size":6
       }
   },
   {
     "name":"account_entry_description",
     "format":{
       "name":"formatText",
       "rightPadding":" ",
       "size":34,
       "removeNewLine":true
     }
   }
 ],
 "separator":"",
 "endLine":"\r\n"

}</javascript>