Allocating ON clock punches (type 1)

This clock type identifies when an employee starts to work. For example, the employee may punch in for the start of the workday or when returning from a break.

Processing is affected by these values:

  • Registry parameters in system/WORKBRAIN_PARAMETERS/:
    • MAX_OFF_TIME (HRS)
    • ON_CLK_ADJ_MIN (MINS)
    • CLOCK_TYPES_FOR_MAX_OFF_TIME
  • Day Start Time value in the Employee Basic Information (Maintenance > Employees > Employee Basic Information - Override)
  • system/clockprocessing/CONSIDER_WORK_SUMMARY_OVERRIDES registry parameter

When an ON clock is processed, the application first checks it against the MAX_OFF_TIME registry parameter. The value of MAX_OFF_TIME is added to the last clock found and compared to the ON clock punch. This occurs when the clock punch matches the types that are listed in the CLOCK_TYPES_FOR_MAX_OFF_TIME registry parameter. If the ON clock punch is before or equal to the sum of the last clock and MAX_OFF_TIME, then the ON punch is placed on the same work summary as the previous clock.

If the MAX_OFF_TIME is set to its default value of -1, or if the ON clock punch is more than the sum of the previous clock and MAX_OFF_TIME, then the adjusted ON clock punch is compared against the employee's Day Start Time. The adjusted time is the sum of the ON clock punch time with the ON_CLK_ADJ_MIN value.

For example, if the employee's Day Start Time is between 12:00 and 23:59 and the adjusted clock occurs on or after the Day Start Time, the clock is allocated to the next day. If the employee's Day Start Time is between 00:00 and 11:59 and the adjusted clock is before the Day Start Time, the clock is allocated to the previous day. If the clock does not satisfy either condition, the clock is allocated to the day of the clock punch.

Note: If the CONSIDER_WORK_SUMMARY_OVERRIDES registry parameter is set to true, then manual clocks generated as a result of work summary overrides are also considered when determining the employee's most recent clock. Clocks outside of the range defined by the MAX_OFF_TIME parameter are ignored. Only manual clocks with a timestamp before or equal to the incoming actual clock are considered. Manual clocks timestamped after the incoming clock are ignored. By default, the CONSIDER_WORK_SUMMARY_OVERRIDES registry parameter is set to false (manual clock overrides are not considered).