Try ERPNext Buy Support Partners Foundation

BOM import fails on a non integer Qty

Hi,

I’m importing a BOM and it fails with an error:
“Quantity (0.01) cannot be a fraction in row 6”
I investigated and that Item had the UOM set to “EA” which was selected to only allow whole numbers.
I changed the UOM on the Item to “MR” which does allow fractions.
When I tried to re-import the same BOM I get the same error. Is the UOM for an Item cached somewhere? How do I resolve this error?

Note, the UOM in the BOM is specified as “MR”; the UOM on the Item is specified as “MR”, although it was originally “EA”.

I retried later and it worked. I don’t know if this was a co-incidence or not!