Difference between revisions of "Accounting export template SageCoala"
m (Created page with "<xml><?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text" media-type="text/plain" ...") |
|||
Line 1: | Line 1: | ||
− | < | + | <javascript>{ |
− | + | "outputFormat":{ | |
− | + | "contentType":"text\/csv", | |
− | + | "charset":"UTF-8", | |
− | + | "filePrefix":"accountancy_", | |
− | + | "fileExtension":"csv", | |
− | + | "converter":"Default" | |
− | + | }, | |
− | + | "field":[ | |
− | + | { | |
− | + | "name":"account_date", | |
− | + | "format":{ | |
− | + | "name":"formatDate", | |
− | + | "parameter":[ | |
− | + | "DD\/MM\/YYYY" | |
− | + | ] | |
− | + | } | |
− | + | }, | |
− | + | { | |
− | + | "name":"paper", | |
− | + | "format":{ | |
− | + | "name":"accountPaper" | |
− | + | } | |
− | + | }, | |
− | + | { | |
− | + | "name":"flow_id" | |
− | + | }, | |
− | + | { | |
− | + | "name":"export_account" | |
− | + | }, | |
− | + | { | |
− | + | "name":"debit", | |
− | + | "format":{ | |
− | + | "name":"formatNumber", | |
− | + | "parameter":[ | |
− | + | "%0.2f" | |
− | + | ], | |
− | + | "separatorDecimal":"," | |
− | + | } | |
− | + | }, | |
− | + | { | |
− | + | "name":"credit", | |
− | + | "format":{ | |
− | + | "name":"formatNumber", | |
− | + | "parameter":[ | |
− | + | "%0.2f" | |
− | + | ], | |
− | + | "separatorDecimal":"," | |
− | + | } | |
− | + | }, | |
− | + | { | |
− | + | "name":"account_entry_description", | |
− | + | "format":{ | |
− | + | "name":"formatText", | |
− | + | "rightPadding":" ", | |
− | + | "removeChar":",", | |
− | + | "size":50 | |
− | + | } | |
− | + | }, | |
− | + | { | |
− | + | "name":"flow_id" | |
− | + | }, | |
− | + | { | |
− | + | "text":"E" | |
− | + | } | |
− | + | ], | |
− | + | "separator":";", | |
− | + | "endLine":"\n" | |
− | + | }</javascript> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 12:39, 2 May 2014
{ "outputFormat":{ "contentType":"text\/csv", "charset":"UTF-8", "filePrefix":"accountancy_", "fileExtension":"csv", "converter":"Default" }, "field":[ { "name":"account_date", "format":{ "name":"formatDate", "parameter":[ "DD\/MM\/YYYY" ] } }, { "name":"paper", "format":{ "name":"accountPaper" } }, { "name":"flow_id" }, { "name":"export_account" }, { "name":"debit", "format":{ "name":"formatNumber", "parameter":[ "%0.2f" ], "separatorDecimal":"," } }, { "name":"credit", "format":{ "name":"formatNumber", "parameter":[ "%0.2f" ], "separatorDecimal":"," } }, { "name":"account_entry_description", "format":{ "name":"formatText", "rightPadding":" ", "removeChar":",", "size":50 } }, { "name":"flow_id" }, { "text":"E" } ], "separator":";", "endLine":"\n" }