Difference between revisions of "ExportSageCoala.json"

Jump to: navigation, search
m (Created page with "<javascript>{ "outputFormat":{ "contentType":"text\/csv", "charset":"UTF-8", "filePrefix":"accountancy_", "fileExtension":"csv", "converter":"Default" }, ...")
 
 
Line 9: Line 9:
 
   "field":[
 
   "field":[
 
     {
 
     {
       "name":"account_date",
+
       "name":"converted_account_date",
 
       "format":{
 
       "format":{
 
         "name":"formatDate",
 
         "name":"formatDate",
Line 20: Line 20:
 
       "name":"paper",
 
       "name":"paper",
 
       "format":{
 
       "format":{
         "name":"accountPaper"
+
         "name":"accountJournal",
 +
        "defaultJournal":"OD",
 +
        "parameter":[{
 +
            "51":"BQ",
 +
            "53":"CA",
 +
            "7":"VT"
 +
            }]
 
       }
 
       }
 
     },
 
     },

Latest revision as of 11:09, 28 January 2020

{
  "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"
}