I wish to assign a object (a) to a person (1 or 2 or 3) based on the following (see image)
- The lat/long of the object must be equal (=) to or +/- 0.05 the lat/long of the person.
- The Max/Min wait days for the object assigned to person (1 or 2 or 3) can between 27 to 34 days (excluding sundays)
- The total and maximun objects to assign to a person is 5. When this condition is met then assign object to next available person who meets the criteria of number 1