Created variables and formulas for Discounts