{
	"name": "query/manager/product/product_work/order/work_phase_failed/query_record.json",
	"info": "query/manager/product/product_work/order/work_phase_failed/query_record.json",
	"table": [
		{
			"record_type": ["schedule"],
			"table": "product_work"
		}
	],
	"database": "4d",
	"parameter": {
		"prwo.record_id": ""
	},
	"field": [
		"prwo.production_lot",
		"prwo.work_phase_number",
		"prwo.resource_id",
		"prwo.failed_amount",
		"prwo.produced_amount",
		"prwo.remaining_amount",
		"pro.drawing_number",
		"pro.company_id",
		"pro.sales_order_id",
		"pr.name",
		"pr.product_id",
		"prwo.record_id",
		"pro.record_id",
		"pro.failed_amount",
		"pro.remaining_amount"
	],
	"query": [
		["prwo.record_id", "=", "prwo.record_id"]
	]
}