POS bug : unable to select item and item rate coming 0

For some items added from data import even though the standard price is listed for that item it will show rate as 0 when entered in POS through barcode.

Also when searched for the same item by name in POS it will show proper rate but stock as 0 and cannot select it , showing trace as :

VM203:2458 Uncaught TypeError: Cannot read property ‘has_batch_no’ of undefined
at Class.mandatory_batch_no (:2458:21)
at Class.add_to_cart (:1971:8)
at HTMLDivElement. (:1815:8)
at HTMLDivElement.dispatch (jquery.min.js:3)
at HTMLDivElement.$event.dispatch (report.min.js?ver=1508585584.0:3010)
at HTMLDivElement.r.handle (jquery.min.js:3)

showing stock zero
zero price in cart!


I am getting more similar errors for some items,
these items where never set as batch items…
the only way to overcome these errors are to delete and recreate the items…

Can anyone share the light on as to why they occur in the first place to be better aware.


Even i am getting same kind of issues now.

Can anyone share the steps what to do for this kind of errors.