One suggestion.....You could "block" the quantity in MM/IM, reflecting this movement in the WM and only after transfer this blocked quantity to the specific storage bin to represent the borrow.
As the stock in MM will be blocked (status "S") this quantity won´t be available for picking in PP or SD for instance....