This modification alters the price calculation process so that an active Sale Price will always override Regular Pricing regardless of whether or not the Sale Price is lower.
Normally when establishing the Unit Price of an item Sale Pricing will only override regular pricing when the Sale Price is lower.