Maximum Number of Consecutive Hours Policy template

Use this template to create a business rule that allows no more than a certain number of hours to be charged consecutively for any timesheet line item time based on entries in the In and Out fields.
Class name = largesoft.br.rules.system.TSMaxConsecutiveHours

Parameter

This template has this parameter:

Max Number of Consecutive Hours
Specify the maximum number of consecutive hours that can be charged for each day, for example, 5.

Example

This example shows the possible values for this business rule.

Maximum number of consecutive hours policy fields

This table shows the values for fields:

Field Value
Name No More Than 5 Consecutive Hours Charged Per Day
Severity Invalid
Notification Interactive
Fire on Itemization Left blank
Fire Scope Left blank
Offline and Online Firing Options Fire Offline and Online
Status Active
Fire On Update TS Timesheet Line Item

Maximum number of consecutive hours policy strings

This table shows the values for strings:

Strings Value
Description Determines if user reports too many consecutive hours worked, based on entries in the In/Out fields.
Interactive Message Have you worked more than <maxConsecutiveHrs> hours non-stop? If not, please change your in and out times to reflect meals or other breaks.
Policy Employees are encouraged to take a break after <maxConsecutiveHrs> consecutive hours of work, except when the workday is completed in 6 hours or less. Employees are encouraged to take a break after %%20000:maxConsecutiveHrs%% consecutive hours of work except when the workday is completed in 6 hours or less.
Report Message Too many consecutive hours.

Maximum number of consecutive hours policy parameters

This table shows the values for parameters:

Parameter Value
Max Number of Consecutive Hours 1.0

Maximum number of consecutive hours policy applications

This table shows the values for applications:

Name Organization/Group
TS: Full-Time Workers Full-Time workers