how to do stock entry? & how the stock is getting minus when we issue the material by referring to the BOM.