Hello All,
After much researching, experimenting, and commensurate failure, I'm reaching out to see if anyone else can provide a solution to apparently a complex request.
1. Proportionate distribution of warehouse inventory by Item # amongst stores in that location that request a quantity of that item (ex. only Houston warehouses supply Houston Stores).
2. Prioritize a variable minimum number of items at certain stores (i.e. if a store needs only 1 item, make sure it gets 1 before another store gets 8).
3. Identify any underutilized warehouse inventory (can be a separate table).
4. It shouldn't make a difference, but I am working with two tables.
After much researching, experimenting, and commensurate failure, I'm reaching out to see if anyone else can provide a solution to apparently a complex request.
1. Proportionate distribution of warehouse inventory by Item # amongst stores in that location that request a quantity of that item (ex. only Houston warehouses supply Houston Stores).
2. Prioritize a variable minimum number of items at certain stores (i.e. if a store needs only 1 item, make sure it gets 1 before another store gets 8).
3. Identify any underutilized warehouse inventory (can be a separate table).
4. It shouldn't make a difference, but I am working with two tables.
A | B | C | D | E | F | G | H | I | |
1 | Warehouse Inventory | Store Orders | |||||||
2 | Storage Location | Item # | Quantity | Store Location | Store # | Item # | Quantity Needed | Allocation | |
3 | Houston | E1142 | 9 | Houston | Store 1 | E1142 | 8 | 8 | |
4 | Houston | E4651 | 3 | Houston | Store 1 | E4651 | 1 | 1 | |
5 | Houston | E12F2D | 1 | Houston | Store 1 | E12F2D | 2 | 1 | |
6 | Monterey | D7332 | 2 | Houston | Store 2 | E1142 | 2 | 1 | |
7 | Austin | E12F2D | 1 | Monterey | Store 1 | D7332 | 2 | 2 | |
8 | Austin | E3779 | 6 | Austin | Store 1 | E12F2D | 1 | 1 | |
9 | Austin | Store 1 | E3779 | 6 | 5 | ||||
10 | Austin | Store 2 | E12F2D | 2 | 0 | ||||
11 | Austin | Store 2 | E3779 | 1 | 1 |