This is the scenario, We have 2-3 pallets in a single storage bin.The bin is like a deep rack in the warehouse.
So the logic would be to use the Last in first out strategy to pull out the pallet which is outside/first one reachable to the user.
So LIFO basically works on the actual TO creation time so in case a TO for P1 is created on 01/01/01 at 12:00 PM and another TO for P2 on 01/01/01 at 12:01.The proposes the pallet created at 12:01 to be picked when there is stock removal.
But the scenario is like though the TO for P2 is created first at 12:01 and it is confirmed at 12:15 and the next one P1 at 12:16 so the pallet P2 will be placed inside the bin and P1 will be placed outside/reachable to the user.
But when LIFO kicks in for automatic TO creation it will propose p2 as the To was created at a later time but the user will pick P1 as it is the nearest reachable to him so when he tries to confirm the pallet at production the system says that the wrong pallet from what was proposed was picked.
Is there any enhancement we can use to build this custom stock removal strategy.