FORCE_CLOCK_ON_DAY

Location
system/WORKBRAIN_PARAMETERS/
Description
This parameter controls for whether directionless swipes (clock type 11) are associated with the current or previous day based on the CLOCKING_DAY_START value.

When set to True, the directionless swipes are associated with the current day or the previous day depending on the CLOCKING_DAY_START emp_udf_value or on the value of the CLOCKING_DAY_START registry parameter. If the clock was swiped before the time limit specified in CLOCKING_DAY_START is up, then the clock is associated with the previous day. If the clock was swiped after the time specified in CLOCKING_DAY_START, then the clock is associated with the current day.

When set to False, these events occur:

  1. The clk_time is added to the number of minutes specified in the system registry parameter, DIRLESS_CLOCK_OFFSET.
  2. This value is subtracted from today, yesterday, and tomorrow's scheduled start time (empskd_act_start_time) to get a number of minutes between the two values.
  3. The clock is assigned based on the difference of the two numbers, according to this logic:
    • If the day is scheduled OFF, then the same shift is assumed as the last scheduled day. If the employee has not been scheduled for more than the days specified in the registry parameter SCHEDULE_MAX_LOOK_BACK_DAYS, which defaults to 14 days, then the employee is assumed to start work at 7:00 AM of the day that the clock was swiped.
    • The clock is associated for whichever day’s scheduled start time results in a difference between 0 and 1440 (one entire day).

For Access Control swipes (clock type 18), if FORCE_CLOCK_ON_DAY is set to True, then the clock is associated with today. Otherwise, the clock is processed as a directionless swipe (clock type 11).

Valid values
True, False
Default value
False