Validate Timesheet Total Working Hours in a Reporting Period Policy template

Use this template to create a business rule that verifies that employees are reporting all hours including holiday hours on their timesheets.

class_name =
largesoft.br.rules.system.TSValidateHoursInPeriod

Parameters

This template has these parameters:

Operator
Select the operator to validate the working hours, for example, < (less than).
Comparison Type
Select the comparison to be made on the reported hours.
Required to Submit Holiday Hours
Select whether or not the employee must report holiday hours.
Holiday Hours
Specify the number of hours to be reported for the holiday, for example, 8.00.

Example 1: Employees Must Account for All Hours Policy

you can create a business rule that determines if the employee has billed enough hours. This example shows the possible values for this business rule..

Employees must account for all hours policy fields

This table shows the values for fields:

Field Value
Name Employees Must Account For All Hours
Severity Explanation
Notification Both
Fire on Itemization Left blank
Fire Scope Left blank
Offline and Online Firing Options Fire Offline and Online
Status Active
Fire On Submit TS

Employees must account for all hours policy strings

This table shows the values for strings:

Strings Value
Description Determines if the user has billed enough hours.
Interactive Message You have not accounted for the minimum number of hours required by your work schedule.
Policy All full-time employees must account for the hours specified by their work schedule.
Report Message Timesheet does not account for all hours required by the employee's work schedule.

Employees must account for all hours policy parameters

This table shows the values for parameters:

Parameter Value
Operator >=
Comparison Type Work Schedule
Required to Submit Holiday Hours Yes
Holiday Hours 8

Employees must account for all hours policy applications

This table shows the values for applications:

Name Organization/Group
International Motors Company Organization

Example 2: Maximum Hours Worked in a Reporting Period Policy

You can create a business rule that determines if an employee has worked more than the maximum number of hours allowed for the reporting period. This example shows the possible values for this business rule..

Employees must account for all hours policy fields

This table shows the values for fields:

Field Value
Rule Name Maximum Hours Worked in a Reporting Period Policy
Severity Explanation
Notification Interactive
Fire on Itemization Left blank
Fire Once Per Session Left blank
Offline and Online Firing Options Fire Offline and Online
Status Active
Fire On Submit TS

Employees must account for all hours policy strings

This table shows the values for strings:

Strings Value
Description Determines if the user has worked more than the maximum number of hours allowed for the reporting period.
Interactive Message You are submitting more than <hours> for this reporting period. Please explain.
Policy Working more than <hours> in a reporting period is not encouraged.
Report Message Working more than <hours> in a reporting period is not encouraged.

Employees must account for all hours policy parameters

This table shows the values for parameters:

Parameter Value
Operator <=
Comparison Type Maximum
Required to Submit Holiday Hours Yes
Holiday Hours 8

Employees must account for all hours policy applications

This table shows the values for applications:

Name Organization/Group
International Motors Company Organization