Enable "Allow Warehouse in Purchase Order Line" features from within Purchase configuration.
Warehouse on Products
The user can choose "Purchase Warehouse" on the product; the chosen warehouse will be shown on product variants.
Multi Warehouse on Purchase Order
When a product is chosen, the relevant warehouse will be immediately added to the Purchase order line. The user can also alter the warehouse on the Purchase order line..
Delivery Order Based on Warehouse
After confirming the Purchase order, the user can see the delivery order that was made depending on the warehouse that was chosen.
The user can view newly created delivery orders for various warehouses in the form view.