{
	"name": "query/manager/product/production_order/postcalc_not_done 2.json",
	"info": "---- ?? tarkoittaa epäselvää",
	"table": [
		{
			"record_type": [""],
			"table": "production_order"
		}
	],
	"parameter": {
		"07056_arr": [""]
	},
	"field": ["pro.json_data.work__position_num_id"],
	"query": [
		["set1", "set2"]
	],
	"set": {
		"07056_02101": [
				["pro.json_data.work__position_num_id", "<>", "07056"],
				"and",
				["pro.json_data.work__position_num_id", "<>", "02101"]
			],
		"AL_LT": [
				["pro.production_order_state", "=", "AL"],
				"and",
				["pro.production_order_state??? - alatila", "=", "LT"]
			],
		"LT_/_AL_LT": [
				["pro.production_order_state", "=", "LT"],
				"or",
				["AL_LT"]
			],
		"set1": [
				["wo_???", "in", "07056_arr"],
				["prwo.work_phase_type", "=", "AL"],
				"and",
				["07056_02101"],
				"and",
				["LT_/_AL_TL"]
			],
		"set2": [
				["wo_???", "in", "07056_arr"],
				["prwo.work_phase_type", "=", "AL"],
				"and",
				["07056_02101"],
				"and",
				["pro.json_data.in_report", "=", "false"]
			]
	}
}