Can someone give me a sql query to calculate the total discount amount on an order line? I have sc
Can someone give me a sql query to calculate the total discount amount on an order line? I have scenarios where an automated modifier will apply to a line, but then the user will go and put a manual discount on top. Trying to get a query that captures the real discount.