Hi everybody,
I need to choose the item with the maximum capacity, based on type of boxes stored in the warehouse, and the fastest one to take.
Actually the custom code in the Process Flow "Max box byType" decides every time the item to be taken from the warehouse with the maximum capacity according to type, but in the event of a tie, I would like to select the fastest one to reach in the warehouse.
So, for example, if in the StoringBay there is an item of type 2 and in the warehouse there are 2 or more items that have the same capacity, which is the maximum among all the items of type 2 in the warehouse, I have to select the item that is the nearest to reach in relation to the position of the ASRS.
For instance, in the picture below, the ASRS has to take the item at the bottom right, which is the closest, not the one at the top left.
Is there a way to do it?
Thank you very much.