In the restocking calculation, the calculated stock takes all storage location in the warehouse.
In my case I have stock for sales and production and stock for the loan or development department. This stock should not be used in the replenishment calculation.
How can I manage this case?
The stock for loan should only contain assets and no goods. As assets can not be sold, there should be no problem.
These are not assets but manufactured products or components that we have in loan or demo stock.
So if you do not own them, they must not be in stock nor goods. We have for now nothing to manage that.
Depending on how you manage your warehouse, you could create a secondary warehouse to track those products.