You can use the forecast/reservation templates so that there is more control on priorities or warehouses being used. You can pass the name of any existing forecast/reservation run. All run options, BOM options, and calculate options of the template are used as defaults for the newly generated run. The template includes the header page and the list of assigned warehouses.
Implementation
The order_seq value in wh_array controls the order sequence of attached warehouses.
Here are examples of incoming values:
wh_code(1).wh_code := 'MW-WH1';
wh_code(1).order_seq := 1;
wh_code(2).wh_code := 'MW-WH2';
wh_code(2).order_seq := 2;
If these values are not filled in, the defaults apply.