Posted on 30/08/2017 12:23:36
Hi Nicolai,
I have managed to temporarily solve my problem but during the tests I've made, I have found another weird (from my logic) behavior of the product discounts.
Consider the following scenario:
Discount 1: Sales discount, 3% applicable to a specific product or product group, let's assume Product1 with a price of 10 EUR
Discount 2: Sales discount, 5% applicable to another specific product or another product group, let's assume Product2 with a price of 10 EUR
Discount 3: Sales discount, 2% applicable to Product2 with a price of 10 EUR.
(the absolute values of the discount are irrelevant)
The Setting of the Sales Discount is to use the Highest value and also include Product Discount in the logic.
My expectation would be that the system will make the decision for each orderline (since these are product discounts) and apply the highest value.
In the above case, it means it should apply Discount 1 to Product 1 (0.3 EUR) and Discount 2 to Product2 (0.5 EUR).
What actually happens is the system first calculates the value resulted form each application and then decides what discount to apply, and applies ONLY that discount.
Which means that the only discount will be Discount 2, applicable just to Product 2 (0.5 EUR).
I tried to uncheck the "Include Product discounts" option and the result was Discount 1 to Product1 (0.3 EUR), Discount 2 to Product2 (0.5 EUR), Discount 3 to Product2 (0.2 EUR).
The logic after the uncheck seems to be fine,. I have not chosen to aggregate the discounts, therefor all aplies. But the logic with the checked option seems to be the same as for Order discounts ignorign the fact that the discounts are Product Discounts.
I am using 8.9.2.5 but the same behavior is found in 8.8.1.32
Please let me know your thoughts.
Thank you,
Adrian