Setting up time periods

By default, there are several preconfigured, commonly-used time periods that are set up in the application. If you cannot find a time period that suits your needs, you can set one up.

  1. Select Maintenance > Optional Modules > Attendance Control > Time Period Setup.
  2. Click Create New Entry.
  3. Specify this information:
    Period Name
    Specify the name of the time period.
    Description
    Optionally, specify a short description of the time period.
    Start Function
    Specify the name of the Attendance Management package containing the start parameters for the time period (for example, com.workbrain.app.modules.ac.getdate). This package can be populated with any valid function. This function must have one parameter of date type, which is passed the date of the pending event being processed for violation. This function must also return a date, which is the start of the period.
    End Function
    Specify the name of the Attendance Management package containing the end parameters for the time period (for example, com.workbrain.app.modules.ac.getdate). This package can be populated with any valid function. This function must have one parameter of date type, which is passed the date of the pending event being processed for violation. This function must also return a date, which is the end of the period.
  4. Click Save.
Note: For the Calendar Week time period, you can indicate the start day of the week. The default is Sunday.

See Setting the week's start day.