What can be the best UX for Stock Transfer between the locations

I am working on warehouse application and I already have one transfer flow designed and in use currently but I want to know like what can be the best UX for such transfer activity.

Here are the Scenarios,

Scenario 1 User want to transfer one item from location Location to Location in a single transaction

Scenario 2 User want to transfer multiple items from multiple locations to multiple locations in a single transaction.

I am also attaching this image to visualise the complexity. This is the story of large warehouse.

PS – Each location has a separate barcode but you can not scan barcode of Location to identify its parent, because location names are not unique.

enter image description here