For this one my solution is the same as the one provided. But it is really interesting and will be great to work on a project to calculate the distance from the warehouse that actually shipped the product based on material on hand.
I enjoyed being able to dive into this file for some spatial training. This is not something I currently used day to day but can see many use cases for it.