Work on bug #268

I add calls to discard() in the case of input errors before returning
from SalesItemService.saveSalesItemPricing().

Furthermore, I edit some files during a debugging procedure.