{
	"name": "grid/manager/product/product_work/order/query_tool/query_tool_column.json",
	"columns_fix": [
		{
			"field": "xx",
			"width": 28,
			"name": "Järj.",
			"fieldx": "ld_work_alOrder"
		},
		{
			"field": "pr.name",
			"width": 150,
			"name": "Työn nimi"
		},
		{
			"field": "pr.json_data.document_count",
			"width": 25,
			"name": "Dok",
			"fieldx": "ld_work_alDocumentCount"
		},
		{
			"field": "pr.production_control_type",
			"width": 22,
			"name": "T/V",
			"fieldx": "ld_work_alProductionControlType"
		},
		{
			"field": "xx",
			"width": 25,
			"name": "Luk.",
			"fieldx": "ld_work_alOtherPhaseLockedState"
		},
		{
			"field": "prwo.produced_amount",
			"width": 38,
			"name": "Valmistunut",
			"fieldx": "ld_work_arProduced_Amount"
		},
		{
			"field": "prwo.resource_id",
			"width": 60,
			"name": "Kuor.",
			"fieldx": "ld_work_asWork_Load_Group_id"
		},
		{
			"field": "prwo.json_data.planned_work_time",
			"width": 35,
			"name": "Vaiheaika s",
			"fieldx": "ld_work_arPlannedWorkTime"
		},
		{
			"field": "prwo.json_data.target_time",
			"width": 60,
			"name": "Standardiaika [t/erä]:",
			"fieldx": "ld_work_arTargetTime"
		},
		{
			"field": "prwo.json_data.track_time",
			"width": 60,
			"name": "OA [min/kpl]",
			"fieldx": "ld_work_arTrackTime"
		},
		{
			"field": "prwo.json_data.critical_end_time",
			"width": 58,
			"name": "Vaiheen eräp. norm",
			"fieldx": "ld_work_adPhaseCriticalDate"
		},
		{
			"field": "prwo.json_data.critical_start_time",
			"width": 53,
			"name": "Vaiheen alkupäivä",
			"fieldx": "ld_work_adPhaseCriticalDate"
		},
		{
			"field": "prwo.json_data.start_time",
			"width": 53,
			"name": "Jonoalku",
			"fieldx": "ld_work_adStart_Date"
		},
		{
			"field": "prwo.json_data.start_time",
			"width": 53,
			"name": "Jonoalku",
			"fieldx": "ld_work_ahStart_Time"
		},
		{
			"field": "prwo.json_data.end_time",
			"width": 53,
			"name": "Jonoloppu",
			"fieldx": "ld_work_adEnd_Date"
		},
		{
			"field": "prwo.json_data.end_time",
			"width": 53,
			"name": "Jonoloppu",
			"fieldx": "ld_work_adEnd_Time"
		},
		{
			"field": "prwo.json_data.delay",
			"width": 53,
			"name": "Viiväst.",
			"fieldx": "ld_work_arDelay"
		},
		{
			"field": "prwo.json_data.advance",
			"width": 38,
			"name": "Aikaist.",
			"fieldx": "ld_work_arAdvance"
		},
		{
			"field": "prwo.json_data.subtype",
			"width": 23,
			"name": "Alatila",
			"fieldx": "ld_work_atSubtype"
		}
	],
	"calculated_colums": [
		{
			"field": "",
			"width": 27,
			"name": "Ohj.\raika",
			"fieldx": "ld_work_agTrackTimeGraph"
		},
		{
			"field": "",
			"width": 39,
			"name": "Voi aloittaa",
			"fieldx": "ld_work_arAmountToStart"
		},
		{
			"field": "",
			"width": 20,
			"name": "RA",
			"fieldx": "ld_work_alRawMaterialState"
		},
		{
			"field": "",
			"width": 70,
			"name": "Kiireellisyys",
			"fieldx": "ld_work_agGraph"
		},
		{
			"field": "",
			"width": 41,
			"name": "Vaiheita\rennen",
			"fieldx": "ld_work_alPhasesBefore"
		},
		{
			"field": "",
			"width": 40,
			"name": "Kumul",
			"fieldx": "ld_work_arCumulativeFree"
		},
		{
			"field": "",
			"width": 50,
			"name": "Valm. %",
			"fieldx": "ld_work_arWorkTimeProgress"
		},
		{
			"field": "",
			"width": 24,
			"name": "Ero",
			"fieldx": "ld_work_alDaysToFinish"
		}
	],
	"columns": [
		{
			"field": "prwo.resource_id",
			"width": 40,
			"name": "Kuor.",
			"enterable": 1
		},
		{
			"width": 40,
			"fieldx": "ld_work_arStarted_Amount",
			"field": "pro.started_amount",
			"name": "Eräkoko",
			"format": "integer"
		},
		{
			"field": "pro.company_id",
			"width": 70,
			"name": "Asiakas",
			"fieldx": "ld_work_alOrder"
		},
		{
			"field": "prwo.json_data.reclamation_count",
			"width": 46,
			"name": "Rekl. mrä",
			"fieldx": "ld_work_alReclamationCount"
		},
		{
			"field": "pro.drawing_number",
			"width": 63,
			"name": "Piirustus",
			"fieldx": "ld_work_atDrawing_Number"
		},
		{
			"field": "prwo.json_data.subcontract",
			"width": 40,
			"name": "On AH",
			"fieldx": "ld_work_afSubcontract"
		},
		{
			"field": "pro.production_order_id",
			"width": 50,
			"name": "Työmäär.",
			"fieldx": "ld_work_atWorkOrder_id"
		},
		{
			"field": "prwo.work_phase_number",
			"width": 30,
			"name": "Vaihe",
			"fieldx": "ld_work_alWork_Phase"
		},
		{
			"field": "prwo.work_phase_state",
			"width": 26,
			"name": "Tila",
			"fieldx": "ld_work_asWork_Phase_State"
		},
		{
			"field": "prwo.json_data.subtype",
			"width": 30,
			"name": "Alatila",
			"fieldx": "ld_work_atSubtype"
		},
		{
			"field": "prwo.json_data.work_time",
			"width": 46,
			"name": "Vaiheaika",
			"fieldx": "ld_work_arWork_Time"
		},
		{
			"field": "prwo.json_data.critical_delayed_end_date",
			"width": 80,
			"name": "Vaiheen eräp. aik.",
			"fieldx": "ld_work_adPhaseCriticalDateDela"
		},
		{
			"field": "pro.json_data.critical_delayed_end_date",
			"width": 53,
			"name": "Kriittinen pv",
			"fieldx": "ld_work_adCriticalDateDelayed"
		},
		{
			"field": "pro.json_data.critical_real_end_date",
			"width": 53,
			"name": "Kr. pv AITO",
			"fieldx": "ld_work_adCriticalDateReal"
		},
		{
			"field": "pro.info",
			"width": 100,
			"name": "Lisätietoja",
			"fieldx": "ld_work_atInfo"
		},
		{
			"field": "pro.sales_order_id",
			"width": 65,
			"name": "Myyntitilaus",
			"fieldx": "ld_work_atSales_Order_id"
		}
	]
}