
Hi,
I am testing a Multiline Discount trade agreement and came across a behavior that I wasn't expecting.
Quantity ranges from 0-50 having 10% discount, and 50-100 having 20% discount.
I then created a Purchase Order with two items belonging to the same Multiline Discount Group,
Item A = Qty 30, Item B = Qty 20
The combined quantity is exactly 50, so I expected the system to apply the 10% discount. However, after running Calculate → Multiline Discount, D365 applied 20% instead. Has anyone experienced similar behavior? How does D365 determine the applicable discount when the combined quantity falls exactly on a quantity break boundary?
Thanks.
| From | To | Applies to qty |
|---|---|---|
| 1 | 50 | 1 → 49 |
| 50 | 100 | 50 → 99 |