{
	"name": "form/nc/erp-sync/wapro/save/order-invoice.json",
	"organization_id": "wapro",
	"parameter": {
		"show_sql": true
	},
	"save": [
		{
			"record_type": ["invoice"],
			"table": "order"
		}
	],
	"run_after": [
		{
			"function": "exportXml",
			"parameter": ["form/nc/erp-sync/wapro/save/invoice-to-xml-convert.json"]
		}
	],
	"default_value": {
		"order": {
			"static-": {
				"json_data.state": ""
			},
			"copy_value-": {
				"json_data.order_id": "ord.order_id"
			},
			"code-": [
				{
					"function": "exportXml",
					"parameter": ["form/nc/erp-sync/wapro/save/invoice-to-xml-convert.json"]
				}
			]
		}
	}
}
