Hi all, I have a problem where Trade Agreement line discounts on products (doesn't matter which one) do not work on certain types of 9-digit customer accounts.
The line discounts work correctly on 6-digit accounts (e.g. 123456).
The line discounts work correct on 9-digit accounts linked to 6-digit accounts, where the 6-digit account has got a line discount (e.g. if 123456 has a line discount, and I create a Sales Order for 123456001 (a distribution center), then the line discount will come through correctly).
If I have a customer with a nine-digit number not linked to a 6-digit account number (e.g. 222222221), then the line discounts will not work. The standard discount setup in Customers - Sales Order - Line Discount will come through instead.
If I look at the Sales Order header - Trade Agreement - Line Discount, I can see the correct price for the product, but it is not coming through to the Sales Order line.
Any ideas on where to start looking, either in code, or in any setup options that I've missed, would be much appreciated!