{
	"name": "query/manager/product/product_work/workpost/person_open_actual_work_phase.json",
	"table": [
		{
			"record_type": ["actual"],
			"table": "product_work"
		}
	],
	"database": "4d",
	"parameter": {
		"finished_state": ["LT", "PE"],
		"person": "",
		"production_lot": "",
		"show_sql": true,
		"work_phase_number": 0
	},
	"field": [
		"prwo.production_lot",
		"prwo.work_phase_number",
		"prwo.json_data.start_date",
		"prwo.json_data.start_time",
		"prwo.info",
		"prwo.record_id"
	],
	"query": [
		["prwo.person_id", "=", "person"],
		"and",
		["prwo.work_phase_state", "not in", "finished_state"],
		"and",
		["prwo.production_lot", "=", "production_lot"],
		"and",
		["prwo.work_phase_number", "=", "work_phase_number"]
	]
}