ExportEbp2012.json

Revision as of 11:26, 6 May 2014 by Jcheng (Talk | contribs) (Created page with "<javascript>{ "outputFormat":{ "contentType":"text\/plain", "charset":"ISO-8859-15", "filePrefix":"ecriture_", "fileExtension":"txt", "converter":"ISO" },...")

(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":"account_date",
      "format":{
        "name":"formatDate",
        "parameter":[
          "DDMMYY"
        ]
      }
    },
    {
      "name":"paper",
      "format":{
        "name":"accountPaper",
        "parameter":[
            false, true
        ]
      }
    },
    {
      "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",
        "leftPadding":"0",
        "size":3
      }
    },
    {
      "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"
}