Transfer items in inventory managment app

I started to build my own app for my business (a bar) and i have many locations (warhouses) where i place my inventory. its important for me to know where the inventory is placed in any time. i want to make a feature in the app where i can transfer items between warhouses, for example:
transfer 20 bottles of vodka from warhouse A to warhouse B.
any ideas how can i do it?