ExportCiel XImport.json: Difference between revisions
Jump to navigation
Jump to search
imported>Lelhidam No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<javascript>{ | <syntaxhighlight lang="javascript"> | ||
{ | |||
"outputFormat":{ | "outputFormat":{ | ||
"contentType":"text\/plain", | "contentType":"text\/plain", | ||
Line 143: | Line 144: | ||
"separator":"", | "separator":"", | ||
"endLine":"\r\n" | "endLine":"\r\n" | ||
}</ | } | ||
</syntaxhighlight> |
Latest revision as of 11:52, 24 November 2024
{
"outputFormat":{
"contentType":"text\/plain",
"charset":"cp850",
"filePrefix":"xImport_",
"fileExtension":"txt",
"converter":"ISO2ASCII"
},
"field":[
{
"name":"flow_id",
"format":{
"name":"formatNumber",
"parameter":[
"%5.0f"
],
"size":-5
}
},
{
"name":"paper",
"format":{
"name":"accountJournal",
"defaultJournal":"OD",
"parameter":[{
"51":"BQ",
"53":"CA",
"7":"VT"
}]
}
},
{
"name":"converted_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_comments",
"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_description",
"format":{
"name":"formatText",
"rightPadding":" ",
"size":34,
"removeNewLine":true
}
}
],
"separator":"",
"endLine":"\r\n"
}