Handled all number value exceptions found in PurchaseItemPanel and
StockTab.