Fixed an issue with the workcells feature.
Fixed an occasional issue when updating a purchase order that made an error with a NULL discount.