Example: SUM

Input Conditions JSON Discount Calculation Flow

Unit of Measure = Percent

Calculation Method = Decrease Price

Product List Price = 100$

3 Calculation Types are created for the Pricing Procedure:

  1. Calculation Method = Decrease and Structural 10%

  2. Calculation Method = Decrease and Contract 10%

  3. Calculation Method = Decrease and Promo 10%

{
  "procedure": {
    "type": "SUM",
    "items": [
      {
        "calculationType": "structural" = 10%
      },
      {
        "calculationType": "contract" = 10%
      },
      {
        "calculationType": "promo" = 10%
      }
    ]
  }
}

Percents are summarized and applied to the initial price specified in the List Price field:

100 * (1 – (0.1 + 0.1 + 0.1)) = 70$

Total price for an Order Line Item = 70$

``