ExportEbp2012.json

Revision as of 13:48, 30 July 2019 by Claratte (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
{
  "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"
}