{
	"name": "query/manager/order/order_row/purchase/work_in_progress_material_self_cost_subtest.json",
	"table": [{
		"record_type": ["purchase"],
		"table": "order_row"
	}],
	"parameter": [],
	"field": ["ordr.price_without_vat"],
	"aggregate": "sum",
	"query": [
		["ordr.json_data.order_type", "=", "RA"], "and", ["ordr.delivery_state", "in", ["OT", "LT"]], "and", ["ordr.production_lot", "=", "pro.production_lot"]
	],
	"queryZZ": ["and", ["pr.product_type", "in", [3, 4]], "and", ["pr.production_control_type", "=", 0]]
}