see i have the req like for given material and quantity i must check how much stock is availabla and batch no for stock how to find.