Hello everyone
 
I am facing an issue with 2 different Line discount Trade agreements posted for the same item and same period, however D365 does not pick the best Line discount %.
 
Trade agreement #1: 
 
Party code type: Group
Account selection for Line discount group: TestDIS
Product code type: Table
Item A
Line Discount: 40%
Period:1/8/2024 to 1/8/2025
Find next: No
 
Trade agreement #2: 
 
Party code type: Table
Account selection for Customer: Customer 123
Product code type: Table
Item A
Line Discount: 20%
Period:1/8/2024 to 1/8/2025
Find next: No
 
I created a new Sales order for Customer 123 and added Item A.
 
The Line discount is populated as 20%
 
Now I go to the Sales order header and add the Line discount group as "TestDIS".
 
I toggle the option to "Yes" for  - Transfer settings from the header to the lines Line discount group(attached screenshots), and then click on "Save".
 
Now when I go back to the Sales order lines, the Line discount percent should have changed from 20% to 40% as per the Line discount group, but it still remains as 20%.
 
Please could someone let me know if D365 can populate the best Line discount % as per the above scenario.