Hello,
I am trying to create logic to allocate and check which order can be fulfilled and from which WH Locations. Previously I am handling this using Excel VBA, but I need to move the logic to AlteryX, anyone have similar problem and know how to create the logic that not only check if we can fulfill the order, but also check from which WH Locations it need to be picked?
Stock Information:

Order Information:

Expected Output:

edit: make mistake in the output, fixed it
Thank you,
Anthonny