{
	"name": "default_value/field_value_order.json",
	"field": [
		{
			"record_type": "sales",
			"new": [
				["order_type", "=", "TI"],
				["terms_of_payment_id", "=", ""],
				["json_data.place_of_departure", "=", "Jyväskylä"],
				["order_state", "=", "AV"]
			],
			"duplicate": [],
			"default": []
		},
		{
			"record_type": "purchase",
			"new": [
				["order_type", "=", "RA"],
				["json_data.company_id", "=", "MANAGE"],
				["json_data.receiver_id", "=", "MANAGE"],
				["currency_id", "=", "EUR"],
				["order_date", "=", ["currentDateString"]],
				["delivery_address", "=", "Laukaantie 4\n40320 Jyväskylä\nFINLAND"],
				[
					"json_data.invoicing_address",
					"=",
					"Laukaantie 4\n40320 Jyväskylä\nFINLAND"
				]
			],
			"duplicate": [],
			"default": [
				["order_state", "=", "AV"],
				["person_id", "=", ["currentUser"]]
			]
		},
		{
			"record_type": "invoice",
			"new": [["order_type", "=", "NO"]],
			"duplicate": [],
			"default": []
		},
		{
			"record_type": "accounts_payable",
			"new": [
				["json_data.payment_date", "=", "1970-01-01"],
				["json_data.purchase_debt_account_id", "=", "2700"],
				["json_data.note_type", "=", "Viite"],
				["json_data.approval_state", "=", "AV"],
				["json_data.accounts_ledger", "=", "Normaali"],
				["json_data.paid_price", "=", 0]
			],
			"duplicate": [],
			"default": []
		}
	]
}
