ExportSage.json

From OpenFlyers Documentation
Revision as of 11:09, 28 January 2020 by imported>Sgoossens
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<javascript>{

 "outputFormat":{
   "contentType":"text\/plain",
   "charset":"ISO-8859-15",
   "filePrefix":"Import_",
   "fileExtension":"pnm",
   "converter":"ISOWithHeader"
 },
 "field":[
   {
     "name":"paper",
     "format":{
       "name":"accountJournal",
       "defaultJournal":"OD",
       "parameter":[{
           "51":"BQ",
           "53":"CA",
           "7":"VT"
           }]
     }
   },
   {
     "text":"",
     "format":{
       "name":"formatText",
       "rightPadding":" ",
       "size":1
     }
   },
   {
     "name":"converted_account_date",
     "format":{
       "name":"formatDate",
       "parameter":[
         "DDMMYY"
       ]
     }
   },
   {
     "text":"",
     "format":{
       "name":"formatText",
       "rightPadding":" ",
       "size":2
     }
   },
   {
     "name":"export_account",
     "format":{
       "name":"formatText",
       "rightPadding":" ",
       "size":13
     }
   },
   {
     "text":"",
     "format":{
       "name":"formatText",
       "rightPadding":" ",
       "size":1
     }
   },
   {
     "text":"",
     "format":{
       "name":"formatText",
       "rightPadding":" ",
       "size":13
     }
   },
   {
     "name":"id",
     "format":{
       "name":"formatNumber",
       "parameter":[
         "%-13.0f"
       ]
     }
   },
   {
     "name":"account_entry_description",
     "format":{
       "name":"formatText",
       "rightPadding":" ",
       "size":25
     }
   },
   {
     "text":"",
     "format":{
       "name":"formatText",
       "rightPadding":" ",
       "size":1
     }
   },
   {
     "text":"",
     "format":{
       "name":"formatText",
       "rightPadding":" ",
       "size":6
     }
   },
   {
     "text":"D",
     "if":{
       "leftPart":"debit",
       "operator":">",
       "rightPart":"0"
     }
   },
   {
     "name":"debit",
     "format":{
       "name":"formatNumber",
       "parameter":[
         "%20.2f"
       ]
     },
     "if":{
       "leftPart":"debit",
       "operator":">",
       "rightPart":"0"
     }
   },
   {
     "text":"C",
     "if":{
       "leftPart":"debit",
       "operator":"==",
       "rightPart":"0"
     }
   },
   {
     "name":"credit",
     "format":{
       "name":"formatNumber",
       "parameter":[
         "%20.2f"
       ]
     },
     "if":{
       "leftPart":"debit",
       "operator":"==",
       "rightPart":"0"
     }
   },
   {
     "text":"N"
   },
   {
     "name":"flow_id",
     "format":{
       "name":"formatNumber",
       "parameter":[
         "%07.0f"
       ]
     }
   },
   {
     "text":"",
     "format":{
       "name":"formatText",
       "rightPadding":" ",
       "size":26
     }
   }
 ],
 "separator":"",
 "endLine":"\r\n"

}</javascript>