Hi,
For this kind of requirement batch is the only option. With batch management you will all the details that this batch is purchased from which vendor and you can identify that what quantity of stock is in quality and what is in unrestricted.
Regards