This Data Analyzer query report lists each discount code used within a period of time you specify, summarized by subsystem. Total discount amount is the base discount amount for each order line, multiplied by quantity. This report does not include agency discounts. This report only selects orders for the OrgID and OrgUnitID of the user running the report.