Example: Mixed
Several types can be applied at once in a pricing procedure.
| All rules for Calculation Types with a certain combination of Calculation Method and Unit of Measure are inherited for the nested (child) types. For example, if SUM is a parent type then the rules for SUM must be followed for all nested calculation types. |
Type = MULT + MAX
| Input Conditions | JSON | Discount Calculation Flow |
|---|---|---|
Unit of Measure = Percent, Amount Product List Price = 100$ 6 Calculation Types are created for the Pricing Procedure:
|
|
Calculating maximum discount according to the formula:
Total price for an Order Line Item = 84,7$ |
Type = SUM + MAX
| Input Conditions | JSON | Discount Calculation Flow |
|---|---|---|
Unit of Measure = Percent, Amount Product List Price = 100$ 3 Calculation Types are created for the Pricing Procedure:
|
|
Calculating the maximum discount according to the formula: 100 * (1 – (0.05 + 0.1 + 0.03)) = 82 Total price for an Order Line Item = 82$ |