SMS now correctly saves salebenefit records for sales that end with a refund. Previously if a percentage off sale discount was applied to a sale that contains returns leading to a refund to the customer, the sale benefit was not recorded in the database.