/
EmpAddAc.Options.Objects

EmpAddAc.Options.Objects

PropertyTypeDescriptionReq?Field Mapping: ServiceScheduling
CheckJobsBooleanSP_OVERLAPPED_JOBS (132) will be returned if the new activity would overlap existing jobs. The new activity is not created.Nooptions.CheckJobs
CheckStdActsBooleanSP_OVERLAPPED_STDACTS (160) will be returned if the new activity would overlap existing standard activities. The new activity is not created.Nooptions.CheckStdActs
CheckJobsDeallocBoolean

If the new standard activity would overlap existing jobs, those jobs are de-allocated (to the in-tray), unless their status is SPDS_LoggedOff or SPDS_Cleared, in which case they will be left overlapping. The new activity is created.

If none of these options is set the new activity is created anyway and any consequent overlaps are left as they are.

Nooptions.CheckJobsDealloc
CheckJobsShuffleBooleanExisting Tentative, Earmarked and Contacted jobs will be shuffled to try to remove overlaps. If removing the overlaps would mean the jobs’ access hours would be broken, then the call is aborted and SP_WOULD_BREAK_ACCESS_HOURS (371) is returned.Nooptions.CheckJobsShuffle
CheckJobsAllowBreakAHBooleanIf this is also set with the above option, the shuffled jobs’ access hours can be broken to remove overlaps.Nooptions.CheckJobsAllowBreakAH
CheckFrozenBooleanSP_FROZEN_DAY (585) is returned if the new activity would be on a date where the engineer’s schedule is frozen.Nooptions.CheckFrozen
OverlapBreaksBooleanCurrently not used. This option has been added for future use in determining the behaviour when breaks are overlapped by standard activities.Nooptions.OverlapBreaks

Related content