Hi there.
So, here is my problem.
I have many stores (20), and they all have stock.
Lets call them Store1 to Store20.
I also have many items in each stockroom.
So my table looks something like this:
|Store1 |Store2| Store3
Item 1 | 1 | 0 | 5
Item 2 | 3 | 11 | 1
Item 3 | 4 | 0 | 0
Beside the table, I have the stock coverage table. (Stock coverage is basically the values in the table, divided by how fast that item sells from that location. So it gives you an idea when you will run out, in months).
I need something that will re-order the items, to minimize the difference of the coverage across rows, so all coverage is as close to uniform as possible, by modifying the values in the table.
Then I need the changes to be output in the following format: ITEM FROM TO QTY.
So for example, "Item3 Store1 Store2 1" would transfer 1 item3 from store1 to store2.
Please note, the item can be sent from one location, to many, or from many locations, to one.
Obviously this is a multi-part question, so if anyone can offer help on any of the components mentioned here, I would appreciate it. I already have, to an extent an "ideal distribution" table I've built, so the main problem now is oddly enough the formatting into "Item/to/from/qty" aspect.
Any ideas?
Bookmarks