Hi Muhammad,
My suggestion would be to have BM in place for these sort of scenario for better classification and validation of stock.
If you don't want to BM, then you can go for enhancement based your logic. Mind you UoM and it's conversion will play critical role in this enhancement.
Thanks, JP