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