{
	"name": "query/manager/order/order/sales/rahtikirja_tekematta.json",
	"info": "---- ?? tarkoittaa epäselvää",
	"table": [
		{
			"record_type": ["sales"],
			"table": "order"
		}
	],
	"query": [
		["_txt", "=", ""],
		["_qry_Fld", ["0", ["ordr.delivery_state", "<>", "_txt"], "*", "false"]],
		["_txt", "=", ""],
		["_qry_Fld", ["0", ["ordr.json_data.waybill_id", "=", "_txt"], "&", "false"]],
		["_sel_RELATE_ONE_SELECTION", ["ordr.order_id", "ord.order_id"]],
		["_txt", "=", "PE"],
		["_qry_Fld", ["0", ["ord.order_state", "<>", "_txt"], "true"]]
	]
}