{
  "columns": [
    {
      "field": "pro.company_id",
      "fieldx": "ld_work_alOrder",
      "width": 70,
      "name": "Company"
    },
    {
      "field": "pro.sales_order_id",
      "width": 55,
      "name": "Sales order"
    },
    {
      "field": "ordr.row_number",
      "width": 22,
      "name": "Row"
    },
    {
      "field": "ord.company_reference_number",
      "width": 70,
      "name": "Customer order"
    },
    {
      "field": "ordr.delivery_date",
      "width": 62,
      "name": "Delivery date"
    },
    {
      "field": "pr.product_id",
      "width": 70,
      "name": "Product"
    },
    {
      "field": "prwo.json_data.production_lot__work_ph",
      "width": 65,
      "name": "Work order"
    },
    {
      "field": "prwo.work_phase_number",
      "width": 30,
      "name": "Phase"
    },
    {
      "field": "prwo.resource_id",
      "width": 70,
      "name": "Machine"
    },
    {
      "field": "prwo.produced_amount",
      "width": 45,
      "name": "Produced",
      "type": "l"
    },
    {
      "field": "prwo.remaining_amount",
      "width": 45,
      "name": "Remaining",
      "type": "l"
    },
    {
      "field": "prwo.work_phase_state",
      "width": 60,
      "name": "State",
      "show_table": "rec.row_state_info",
      "cellGraphFormatter": {"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>", "value_color": [{"color": "mediumseagreen ", "value": "valmis"}, {"color": "cornflowerblue", "value": "aloitettu"}, {"color": "salmon", "value": "avoin"}]},
      "cssClass": "gridGraph"
    }
  ]
}
