Sales orders and resered qty

hello everyone , so we are using sales orders a lot , we have multiple warehouses . the current situation is create a sales order , select the warehouse , reserve the qty .
first things , the reserved qty is transferable to another warehouse (I created a script to prevent that ) .
second observation , while creating sales order and selecting an item , delivery warehouse is mandatory to fetch actual qty . what if I want to check all warehouses and combine them if necessary , for example I am selling 2 pcs if Item A , but I have 1 qty in 2 warehouses which is a total of 2 . I want my sales order to read all available actual qty from all warehouses , reserve qty from one or multiple warehouses , then I can create stock entry to transfer the item from both warehouses to the final delivery warehouse .
I can do this by just updating the code in my app but I want to discuss it further before doing anything .

Hi,

Please create one group warehouse named “Delivery Warehouse” and define it as parent in all your delivery warehouse.

Now, in sales order select group warehouse and system will check the stock from all the child warehouses.

Also, if you can share your client script to block the transfer of reserved qty will be helpful to me as I also have similar requirement.

Thanks,

Divyesh Mangroliya

Not sure if this changed at some point, but you cannot select a group warehouse in the sales order. This does not make sense to me, especially considering that only child warehouses can contain stock. If you are using putaway rules to store stock in specific locations (ie. warehouses) then you cannot have one child warehouse be the warehouse for the entire order. This structure really needs to be rethought. Either warehouses should have storage locations under them that are considered part of the warehouse or group warehouses should be allowed to be used in the sales order and consolidate all the stock across the child warehouses.