Word problems! Programmers solve word problems.
My challenge is that I have sales people with base locations. Their territory allows them to sell a handful of products but each product can be sold a certain distance from their base location. Product A is eligible to be sold within 10 miles of base location product b 30 miles and so forth with product f being nationwide.
I have to create an interface which allows the end user to say "I’m here and want product ___" and then I show them all the qualified sales people who can get that product to them.
The program should also read the user’s mind so that the dropdown of regions will only show regions that sales people can actually get products to. The mind reading has to happen since product f is nationwide all regions should always be listed…well…unless the user wants product a….