{
	"name": "query/manager/product/product_work/actual/productivity_report/time_period_before.json",
	"table": [
		{
			"record_type": ["actual"],
			"table": "product_work"
		}
	],
	"database": "4d",
	"parameter": {
		"production_lot": [
				
			],
		"show_sql": false,
		"start_date2": "",
		"work_phase": [
				
			]
	},
	"field": [
		"prwo.resource_id",
		"prwo.production_lot",
		"prwo.work_phase_number",
		"prwo.work_hours"
	],
	"aggregate": {
		"sum": ["prwo.work_hours"]
	},
	"query": [
		["prwo.json_data.end_date", "<", "start_date2"],
		"and",
		["prwo.work_phase_number", "in", "work_phase"],
		"and",
		["prwo.production_lot", "in", "production_lot"]
	]
}