Used a Running Total to get the potential allocations, then a Multi-Row to make sure it wouldn't bring the warehouse over capacity. I wasn't initially getting the right answers as I had the Find Nearest set to only 1000 miles. Upping that to 2000 sorted everything out.
4/5