ExportCiel XImport.json

Revision as of 09:25, 6 May 2014 by Jcheng (Talk | contribs) (Created page with "<javascript>{ "outputFormat":{ "contentType":"text\/plain", "charset":"cp850", "filePrefix":"xImport_", "fileExtension":"txt", "converter":"ISO2ASCII" }, ...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
{
  "outputFormat":{
    "contentType":"text\/plain",
    "charset":"cp850",
    "filePrefix":"xImport_",
    "fileExtension":"txt",
    "converter":"ISO2ASCII"
  },
  "field":[
    {
      "name":"flow_id",
      "format":{
        "name":"formatNumber",
        "parameter":[
          "%5.0f"
        ]
      }
    },
    {
      "name":"paper",
      "format":{
        "name":"accountPaper"
      }
    },
    {
      "name":"account_date",
      "format":{
        "name":"formatDate",
        "parameter":[
          "YYYYMMDD"
        ]
      }
    },
    {
        "text":"",
        "format":{
          "name":"formatText",
          "rightPadding":" ",
          "size":8
        }
    },
    {
        "text":"",
        "format":{
          "name":"formatText",
          "rightPadding":" ",
          "size":12
        }
    },
    {
      "name":"export_account",
      "format":{
        "name":"formatText",
        "rightPadding":" ",
        "size":11
      }
    },
    {
      "name":"account_entry_description",
      "format":{
        "name":"formatText",
        "rightPadding":" ",
        "size":25
      }
    },
    {
      "name":"debit",
      "format":{
        "name":"formatNumber",
        "parameter":[
          "%013.2f"
        ]
      },
      "if":{
        "leftPart":"debit",
        "operator":">",
        "rightPart":"0"
      }
    },
    {
      "text":"D",
      "if":{
        "leftPart":"debit",
        "operator":">",
        "rightPart":"0"
      }
    },
    {
      "name":"credit",
      "format":{
        "name":"formatNumber",
        "parameter":[
          "%013.2f"
        ]
      },
      "if":{
        "leftPart":"debit",
        "operator":"==",
        "rightPart":"0"
      }
    },
    {
      "text":"C",
      "if":{
        "leftPart":"debit",
        "operator":"==",
        "rightPart":"0"
      }
    },
    {
        "text":"",
        "format":{
          "name":"formatText",
          "rightPadding":" ",
          "size":12
        }
    },
    {
        "text":"",
        "format":{
          "name":"formatText",
          "rightPadding":" ",
          "size":6
        }
    },
    {
      "name":"account_entry_comments",
      "format":{
        "name":"formatText",
        "rightPadding":" ",
        "size":34,
        "removeNewLine":true
      }
    }
  ],
  "separator":"",
  "endLine":"\r\n"
}