ExportSageCoala.json: Difference between revisions

From OpenFlyers Documentation
Jump to navigation Jump to search
imported>Sgoossens
No edit summary
 
No edit summary
 
Line 1: Line 1:
<javascript>{
<syntaxhighlight lang="javascript">
{
   "outputFormat":{
   "outputFormat":{
     "contentType":"text\/csv",
     "contentType":"text\/csv",
Line 73: Line 74:
   "separator":";",
   "separator":";",
   "endLine":"\n"
   "endLine":"\n"
}</javascript>
}
</syntaxhighlight>

Latest revision as of 11:55, 24 November 2024

{
  "outputFormat":{
    "contentType":"text\/csv",
    "charset":"UTF-8",
    "filePrefix":"accountancy_",
    "fileExtension":"csv",
    "converter":"Default"
  },
  "field":[
    {
      "name":"converted_account_date",
      "format":{
        "name":"formatDate",
        "parameter":[
          "DD\/MM\/YYYY"
        ]
      }
    },
    {
      "name":"paper",
      "format":{
        "name":"accountJournal",
        "defaultJournal":"OD",
        "parameter":[{
            "51":"BQ",
            "53":"CA",
            "7":"VT"
            }]
      }
    },
    {
      "name":"flow_id"
    },
    {
      "name":"export_account"
    },
    {
      "name":"debit",
      "format":{
        "name":"formatNumber",
        "parameter":[
          "%0.2f"
        ],
        "separatorDecimal":","
      }
    },
    {
      "name":"credit",
      "format":{
        "name":"formatNumber",
        "parameter":[
          "%0.2f"
        ],
        "separatorDecimal":","
      }
    },
    {
      "name":"account_entry_description",
      "format":{
        "name":"formatText",
        "rightPadding":" ",
        "removeChar":",",
        "size":50
      }
    },
    {
      "name":"flow_id"
    },
    {
      "text":"E"
    }
  ],
  "separator":";",
  "endLine":"\n"
}