[
    {
      "field": "so_company_id",
      "left_mm": 60,
      "label_fi": "Company"
    },
    {
      "field": "sor_product_id",
      "left_mm": 60,
      "label_fi": "Product"
    },
    {
      "field": "sor_explanation",
      "left_mm": 120,
      "label_fi": "Explanation"
    },
    {
      "field": "sor_delivery_time",
      "left_mm": 100,
      "label_fi": "sor_asDelivery_Time"
    },
    {
      "field": "sor_ordered_amount",
      "right_mm": 50,
      "label_fi": "Amount"
    },
    {
      "field": "pr_asUnit",
      "right_mm": 30,
      "label_fi": ""
    },
    {
      "field": "sor_delivered_date",
      "right_mm": 80,
      "label_fi": "Delivery date"
    },
    {
      "field": "sor_sales_price_total",
      "right_mm": 60,
      "label_fi": "Price"
    },
    {
      "field": "sor_sales_probability",
      "right_mm": 60,
      "label_fi": "Probability %"
    },
    {
      "calculate": ["probability_value", "=",[["sor_sales_price_total", "*", "sor_sales_probability"],"/", 100]],
      "right_mm": 60,
      "label_fi": "Probability value"
    },
    {
      "calculate": ["if",["value", ">=",50],["value", "=","probability_value"], ["value", "=", 0]],
      "right_mm": 60,
      "label_fi": "Value"
    }
]
