Difference between revisions of "ExportEbp2012.json"

Jump to: navigation, search
m (Created page with "<javascript>{ "outputFormat":{ "contentType":"text\/plain", "charset":"ISO-8859-15", "filePrefix":"ecriture_", "fileExtension":"txt", "converter":"ISO" },...")
 
 
Line 12: Line 12:
 
     },
 
     },
 
     {
 
     {
       "name":"account_date",
+
       "name":"converted_account_date",
 
       "format":{
 
       "format":{
 
         "name":"formatDate",
 
         "name":"formatDate",
Line 23: Line 23:
 
       "name":"paper",
 
       "name":"paper",
 
       "format":{
 
       "format":{
         "name":"accountPaper",
+
         "name":"accountJournal",
         "parameter":[
+
        "defaultJournal":"OD",
             false, true
+
         "parameter":[{
        ]
+
             "6":"AC",
 +
            "7":"VE",
 +
            "51":"BQ",
 +
            "53":"CA"
 +
            }]
 
       }
 
       }
 
     },
 
     },
Line 53: Line 57:
 
         "appendText":"\"",
 
         "appendText":"\"",
 
         "prependText":"\"OF",
 
         "prependText":"\"OF",
        "leftPadding":"0",
+
         "size":11
         "size":3
+
 
       }
 
       }
 
     },
 
     },

Latest revision as of 13:48, 30 July 2019

{
  "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",
        "size":11
      }
    },
    {
      "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"
}