[Work Rules|WORK RULE] are used to determine the standard processing information that is required in order to create Time Sheets (shifts with In/Out times) or Time Cards (hours).

Work Rules control how the Generate Employee Time Sheet ([UEGTS]) program will create time sheets or time cards. Time is generated based on how the Work Rule and Work Calendar screens are setup. In order for UEGTS to work correctly a Work Calendar MUST be
associated to the Work Rule and a Work Rule MUST be associated to the employee’s assignment.

!!How Are Hours Generated?
It is important to understand where the hours that are generated on employee's time sheet originate.

If hours are indicated on the work calendar ([IDWC]), then the system will use these hours and override the standard hours per day from the employee's work assignment ([IEAS]).

If no hours are indicated on the work calendar, then the system will use the standard hours per day value from the employee's work assignment ([IEAS]).

If no hours are indicated in the standard hours per day field on the employee's work assignment, then the system will use the standard hours per day value indicated on the employee's work rule.
----
!!Which Time Code Will Be Used?
Time is generated against a time code. This section identifies which time code will be used to generate the time against. Three different time code types may be generated into an employees Time Sheet/Card:

;Leave:Time Codes for Leaves come from the Leave Lines ([IAAL]); if no time or time code is indicated no leaves are generated.
;Holiday:Holiday Time Codes come from the Holiday Calendar ([IDHC]); if no time code is indicated the no Holiday Time is generated.
;Regular:Regular Time Codes are obtained in the following way....
*The Time Code indicated on the Work Calendar screen ([IDWC]) that is attached to the O/R Work Calendar field on the employee's Work Assignment ([IEAS]). If no Overriding Work Calendar is indicated, then...
* The Time Code indicated on the Work Calendar screen ([IDWC]) of the Work Rule ([IDWR]) that is associated to the employee's Work Assignment ([IEAS]). If no Time Code is indicated, then...
* The Time Code associated to the Shifts on the Shift Rules tab of the Work Rule ([IDWR]) that is associated to the employee's Work Assignment ([IEAS]). If no Time Code is indicated, then...
* The Regular Time Code associated to the employment status in the Status Rules tab of the Work Rule ([IDWR]) that is associated to the employee’s assignment([IEAS]). If no Time Code is indicated, then...
* The Time Code associated to the Time Rule Type 'DFLT TIME CODE' as indicated in the Time Rules tab of the Work Rule ([IDWR]) that is associated to the employee's work assignment ([IEAS]). If no Time Code is indicated, then...
* The Regular Time Code associated to the ACTIVE employment status in the Status Rules tab of the Work Rule ([IDWR]) that is associated to the employee’s assignment ([IEAS]). If no Time Code is indicated, then...
* No regular time will be generated for the employee
----
!!Where Will The Time Be Generated?
Based on the Time Gen. Destination field on the Status Rules tab of the Work Rule ([IDWR]) that is associated to the employee’s assignment ([IEAS]) blank or “PR - Calendar”

Used by [UPTG] generation to generate hours into pay transactions accessed thru [IPTR].
;“TS - Shift Pattern”:Used by [UEGTS] to generate shifts and from/to time, as set up in the TS module, into Time Sheets (WxTTS)
;“TS - Event Sched”:Used by [UEGTS] to generate shifts and from/to time, as set up in the TS module Event Scheduling, into Time Sheets (WxTTS)
;“TM - Shift Calendar”:Used by [UEGTS] to generate shifts and from/to time, as set up in the Work Calendar/Work Rule, into Time Sheets (WxTTS)
;“TM - Hours Calendar”:Used by [UEGTS] to generate hours, as set up in the Work Calendar/Work Rule/Assignment, into Time Cards (WxPTS)
----
!!Work Rules With Standard Hours
!Overview
The following setup is required if:
* Time sheets with the employees’ standard hours per day are to be generated
* Employees or timekeepers will be entering exceptions to this generated time

!Set Up
__Work Calendars__

Work Calendars ([IDWC]) allow specific work schedules or contract periods to be created. The work calendar must be setup as follows:
# The Time Code field should contain the time code that the time is to be generated against.
# The Assigned To field should be BLANK.
# The Hours Per Pay field is optional. If completed, the number of hours indicated would be entered against the time code provided. If this field is blank, the system will use the ‘Hours Per Day’ value from the employee’s assignment

__Time Codes__

Time Codes are user-friendly data entry codes that are used to link applications such as the attendance, time-entry, work and time scheduling and contracting processing to payroll.

__Work Rules__

Work Rules are used to determine the standard processing information required to create pay headers and payroll transactions for an employee. 

The Work Rules ([IDWR]) screen should be set up after setting up the Work Calendar and Time Codes screens.

The work rule must be set up as follows:
# On the Details tab a work calendar must be attached 
# On the Status Rules Tab
*the Time Gen. Destination must be “TM - Hours Calendar”
**Used by [UEGTS] to generate hours, as set up in the Work Calendar/Work Rule/ Assignment, into Time Cards (WxPTS)
*the Generate Headers toggle must be checked ON
*the Generate Details toggle must be checked ON
*the Time Generation Rule must be set to “By Day with Time”

This MUST be done for each Employment Status required (e.g. ACTIVE)
----
!!Work Rules With Shifts
!Overview
The following set up should be followed, if:
*Time sheets are to be generated with the employees’ standard shift including from/to times
*Employees or timekeepers will be entering exceptions to this generated time

!Set Up
__Shifts__

A Shift describes the time period within a day during which work is performed.
*Shifts are defined in the screen [ITSS] within the Personality application.
* Shift codes must be unique within the entity.
* Shifts are associated to start and end times.
* Within the TMSS environment, shifts are associated to the work calendar.

__Work Calendars__

Work Calendars ([IDWC]) allow specific work schedules or contract periods to be created.

The work calendar must be set up as follows:
# The Time Code field should contain the time code that the time is to be generated against.
# The Assigned To field must contain a shift code which will be the shift that details will be generated and viewed in [ITSH]. In addition, time sheet entries containing the shift information can be viewed in WxTTS.
# The Hours Per Pay field should be left blank, as hours are not required for time sheet generation with shifts.

__Time Codes__

Time Codes are user-friendly data entry codes that are used to link applications such as the attendance, time-entry, work and time scheduling and contracting processing to payroll.

The time code must be set up as follows:
#The Adjust Scheduled Time toggle must be checked for any time that will reduce regular time. This is similar to the setup for running [UPTG].

__Work Rules__

Work Rules are used to determine the standard processing information that is required in order to create pay headers and payroll transactions for an employee.

The Work Rules ([IDWR]) screen should be set up after setting up the Work Calendar and Time Codes screens.

The work rule must be set up as follows:
# On the Details tab
**a work calendar must be attached e.g. MON - FRI REG SHFT
# On the Status Rules tab
**The Time Gen. Destination must be set to “TM - Shift” 
**the Generate Headers toggle must be checked ON
**the Generate Details toggle must be checked ON
** the Time Generation Rule must be set to 'By Day With Time'

This MUST be done for each Employment Status required (e.g. ACTIVE)
----
!!Work Rules For Manual Entry Of Time
!Overview
The following set up should be followed, if:
#Time Sheet (WxTTS - from/to times) or Time Card (WxPTS - hours) headers are to be generated for employees
#Employees or timekeepers will be entering all time worked (start and stop) 

The term 'Manual Entry' is just that, all time will be entered manually. The [UEGTS] program will still need to be run to generate Time Sheet (WxTTS) or Time Card (WxPTS) for the employees. Once the time has been created, users/employees can enter their time via the appropriate Self Service screens. Normally these screens are used to capture time exceptions however, in this situation, they can be used to enter the employee’s worked time.

Since time is being entered manually, holiday time will not be generated.

!Set Up
__Work Calendars__

Work Calendars ([IDWC]) allow specific work schedules or contract periods to be created.

The work calendar must be set up as follows:
#The Time Code field must be blank. A time code is not required since no time is to be generated. The intent is to create a time sheet header without any details since they will be keyed in manually.
#The Assigned To field must be blank. No shift details are to be generated. The intent is to create a time sheet header without any details since they will be keyed in manually.
#The Hours Per Pay field should be left blank. No hours/time is to be generated. The intent is to create a time sheet header without any details since they will be keyed in manually.

__Work Rules__

The Work Rule ([IDWR]) screen should be set up after setting up the work calendar.

The work rule must be set up as follows:
#On the Details tab
**a work calendar must be attached
#On the Status Rules tab:
**The Time Gen. Destination must be set to “TM - Shift” or “TM - Hours”
**the Generate Headers toggle must be checked ON
**the Generate Details toggle should be OFF
**the Time Generation Rule can be set to
**'By Day WithOUT Time' - so that the dates in the pay period are generated and all the user/employee has to do is enter the time worked
** or blank - then no details will be generated and the employee/user must manually key in the dates and time