Summing/adding up source document line discount values as a document line discount total

This article explains how to sum up the source document transaction lines’ discount values, to display as a consolidated total value at the bottom of the printed document.

Click here for more details

Parents
  • Hi Bennie, 

    Thank you for this article. I have followed the steps and applied it to a sales order report. I have used the variables (calcs) as instructed, but my result is as follows:  for Value :=VARIABLE4.VALUE + VARIABLE2.VALUE the result is for example 150150 instead of 300 (150 + 150)

    Please advise how I can fix my calc to add the variables as a running total and then also what my calc should look like for the column total. 

    Thank you!!

    eg: Total Cubes = Item Cube x Qty. This is correct as 532400

    The calc after this one is incorrect

Reply
  • Hi Bennie, 

    Thank you for this article. I have followed the steps and applied it to a sales order report. I have used the variables (calcs) as instructed, but my result is as follows:  for Value :=VARIABLE4.VALUE + VARIABLE2.VALUE the result is for example 150150 instead of 300 (150 + 150)

    Please advise how I can fix my calc to add the variables as a running total and then also what my calc should look like for the column total. 

    Thank you!!

    eg: Total Cubes = Item Cube x Qty. This is correct as 532400

    The calc after this one is incorrect

Children