{
  "name": "grid/manager/order/order_row/lead_time.json",
  "options": {
    "grid_option": {
      "header_height2": 46
    }
  },
  "columns": [
    {
      "field": "pr.product_group",
      "width": 70,
      "name": "Tuoteryhmä"
    },
    {
      "field": "ordr.product_id",
      "width": 70,
      "name": "Tuote"
    },
    {
      "field": "ord.company_id",
      "width": 60,
      "name": "Asiakas"
    },
    {
      "field": "ordr.order_id",
      "width": 30,
      "name": "Tilaus"
    },
    {
      "field": "ordr.row_number",
      "width": 30,
      "name": "Rivi"
    },
    {
      "field": "ordr.description",
      "width": 170,
      "name": "Nimi"
    },
    {
      "field": "ordr.delivery_amount",
      "width": 50,
      "name": "Toimitettu"
    },
    {
      "field": "ordr.unit",
      "width": 30,
      "name": "Yks."
    },
    {
      "field": "ordr.actual_delivery_date",
      "width": 60,
      "name": "Toimituspäivä"
    },
    {
      "variable": "work_start_time",
      "width": 50,
      "name": "Työ aloitettu"
    },
    {
      "variable": "work_end_time",
      "width": 50,
      "name": "Työ lopetettu"
    },
    {
      "variable": "lead_time_days",
      "width": 70,
      "name": "Läpäisyaika (pv)",
      "format": "%'.2f",
      "cellClassRulesZ": {
        "black": "x > 0",
        "white": "x <= 0"
      }
    },
    {
      "variable": "lead_time_hours",
      "width": 70,
      "name": "Läpäisyaika (t)",
      "format": "%'.2f"
    },
    {
      "variable": "ordr.record_type",
      "width": 60,
      "name": "Record type",
      "hideZ": true
    }
  ]
}
