Hi,
I have a new display field on the sales order totals form which should show the total rebate amount by adding/calculating all the sales lines rebates. I know you can see the rebate amount for each line by selecting the sales line and check the price details. It uses PDSREBATETABLE when I open price details for a specific line. The problem with using this table is, it only generates the amounts once you invoice the order. However, my requirement is to show all line rebates total in the Totals form before the invoice.
is there any class that I can use or create a new one to calculate the total rebate?
Thank you in advance.