The discount type applies to the line immediately above or to the subtotal immediately above. It deals in dollars and cannot use the quantity field, so I think you have to use the discount function as provided. The subtotal type can help group lines for discounting, but that still does not use quantity. ... Thinkpads_User