Class BTImmediateSchedulingTeamExclusionByDistance

java.lang.Object
overit.geocall.bl.BusinessTask<ImmediateSchedulingTeamExclusionEvent>
overit.geocallapp.wfm.orchestrator.scheduling.bl.immediatescheduling.teamexclusion.task.BTImmediateSchedulingTeamExclusion
overit.geocallapp.wfm.orchestrator.scheduling.bl.immediatescheduling.teamexclusion.task.BTImmediateSchedulingTeamExclusionByDistance
All Implemented Interfaces:
Serializable, Tool

@Event(value=ImmediateSchedulingTeamExclusionEvent.class, priority=20) public class BTImmediateSchedulingTeamExclusionByDistance extends BTImmediateSchedulingTeamExclusion
Business Task for filtering teams based on straight-line distance between resource starting point and work order location.

Excludes teams whose foreman's starting point (at calendar or resource level) is too far from the work order location. The maximum distance is configured via parameter X.

Work order location is determined with the following priority:

  1. Scheduling address (AWOOSCHEDULEID_AADD) if exists
  2. Operation address (AWOOID_AADD)
  3. Work order header address (AWORID_AADD)

Note: This logic is not applied if the Re-optimization subtask is also being executed in the same run.

Since:
22.0
See Also:
GCApi:
task