Hi experts, how to add the total amount of the discount to the report 10074. I added the following code and it only retrieved the first number and will not add them up. Please advise! Thank you!
Totaldiscount := Totaldiscount + TempSalesInvoiceLine."Line Discount Amount";
CurrReport.CREATETOTALS(Totaldiscount);
*This post is locked for comments