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, then you can set one up.
- Select Maintenance > Optional Modules > Attendance Management > Time Period Setup.
- Click Create New Entry.
-
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. Note: You cannot specify a value here and in the Start Script field.
- 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.Note: You cannot specify a value here and in the End Script field.
- Start Script
- Optionally, specify the extension script of type
am-time-period
. You cannot specify a value here and in the Start Function field.For more information on creating extension scripts in WFM, see Infor Workforce Management Custom Scripting Developer Guide.
- End Script
- Optionally, specify the extension script of type
am-time-period
. You cannot specify a value here and in the End Function field.For more information on creating extension scripts in WFM, see Infor Workforce Management Custom Scripting Developer Guide.
- Click Save.
Note: For the Calendar Week time period, you can indicate the start day
of the week. The default is Sunday.