Product receipt was not getting posted even though the Post product receipt batch job was running without showing any errors.

We tried to manually post the product receipt for the registered quantities, and we got the below error -- "Physical remaining quantity in the unit t must be other than zero"


This issue was resolved by going into the item card, and then to the unit conversions -> under 'Standard conversions' in the 'From unit' column search for anything starting with 't' (for tons as per this example).
If you then click on 't' in the Ton to Kilogram conversion line, you will notice that the decimal precision was set to 2 initially, and the decimal precision for 'kg' was set to 5. 
This issue was resolved by changing the decimal precision on 't' to 5 as well. 
After this the product receipt was posted without any errors. 

Below are screenshots for the above steps.