ExportCsvDebitCreditWithPointDecimal.json: Difference between revisions
Jump to navigation
Jump to search
imported>Jcheng (Created page with "<javascript>{ "outputFormat":{ "contentType":"text\/csv", "charset":"UTF-8", "filePrefix":"accountancy_", "fileExtension":"csv", "converter":"Default"...") |
No edit summary |
||
Line 1: | Line 1: | ||
<javascript>{ | <syntaxhighlight lang="javascript"> | ||
{ | |||
"outputFormat":{ | "outputFormat":{ | ||
"contentType":"text\/csv", | "contentType":"text\/csv", | ||
Line 102: | Line 103: | ||
"separator":";", | "separator":";", | ||
"endLine":"\n" | "endLine":"\n" | ||
}</ | } | ||
</syntaxhighlight> |
Latest revision as of 11:56, 24 November 2024
{
"outputFormat":{
"contentType":"text\/csv",
"charset":"UTF-8",
"filePrefix":"accountancy_",
"fileExtension":"csv",
"converter":"Default"
},
"field":[
{
"name":"flow_id",
"format":{
"name":"formatNumber",
"parameter":[
"%06.0f"
]
}
},
{
"name":"paper",
"format":{
"name":"accountJournal",
"defaultJournal":"OD",
"parameter":[{
"51":"BQ",
"53":"CAI",
"7":"VT"
}]
}
},
{
"name":"converted_account_date",
"format":{
"name":"formatDate",
"parameter":[
"YYYYMMDD"
]
}
},
{
"name":"export_account"
},
{
"name":"account_entry_description",
"format":{
"name":"formatText",
"removeChar":[
"&amp;",
"&gt;",
"&lt;",
";"
]
}
},
{
"name":"debit",
"format":{
"name":"formatNumber",
"parameter":[
"%08.2f"
],
"separatorDecimal":"."
},
"if":{
"leftPart":"debit",
"operator":">",
"rightPart":"0"
}
},
{
"text":"",
"if":{
"leftPart":"debit",
"operator":">",
"rightPart":"0"
}
},
{
"text":"",
"if":{
"leftPart":"debit",
"operator":"==",
"rightPart":"0"
}
},
{
"name":"credit",
"format":{
"name":"formatNumber",
"parameter":[
"%08.2f"
],
"separatorDecimal":"."
},
"if":{
"leftPart":"debit",
"operator":"==",
"rightPart":"0"
}
}
],
"separator":";",
"endLine":"\n"
}