{
	"columns": [
		{
			"field": "pro.company_id",
			"width": 70,
			"name": "Asiakas",
			"fieldx": "ld_work_alOrder"
		},
		{
			"field": "pro.sales_order_id",
			"width": 55,
			"name": "Myyntitilaus"
		},
		{
			"field": "ordr.row_number",
			"width": 22,
			"name": "Rivi"
		},
		{
			"field": "ord.company_reference_number",
			"width": 70,
			"name": "As. tilausnumero"
		},
		{
			"field": "ordr.delivery_date",
			"width": 62,
			"name": "Toimituspäivä"
		},
		{
			"field": "pr.product_id",
			"width": 70,
			"name": "Tuote"
		},
		{
			"field": "prwo.json_data.production_lot__work_ph",
			"width": 65,
			"name": "Valmistuserä"
		},
		{
			"field": "prwo.work_phase_number",
			"width": 30,
			"name": "Vaihe"
		},
		{
			"field": "prwo.resource_id",
			"width": 70,
			"name": "Kuormitusryhmä"
		},
		{
			"field": "prwo.produced_amount",
			"width": 45,
			"name": "Tehty",
			"type": "l"
		},
		{
			"field": "prwo.remaining_amount",
			"width": 45,
			"name": "Jäljellä",
			"type": "l"
		},
		{
			"XXcss_table": "rec.row_type_css",
			"width": 60,
			"show_table": "rec.row_state_info",
			"cellGraphFormatterXXX": {
				"value_color": "rec.row_state_value_color",
				"html": "<svg width='100%' height='100%'><circle cx='10%' cy='50%' r='0.5em' fill='{{color}}'></circle><text x='1.5em' dy='75%'>{{value}}</text></svg>"
			},
			"field": "prwo.work_phase_state",
			"cssClass": "gridGraph",
			"name": "Tila",
			"cellGraphFormatter": {
				"value_color": [
					{
						"color": "mediumseagreen ",
						"value": "valmis"
					},
					{
						"color": "cornflowerblue",
						"value": "aloitettu"
					},
					{
						"color": "salmon",
						"value": "avoin"
					}
				],
				"html": "<svg width='100%' height='100%'><circle cx='10%' cy='50%' r='0.5em' fill='{{color}}'></circle><text x='1.5em' dy='75%'>{{value}}</text></svg>"
			}
		}
	],
	"name": "grid/manager/product/product_work/order/work_order_schedule_state/column.json"
}