[{TableOfContents }]

!!!DEFINE TIME CODES
Time codes are easy to use data entry codes chosen by the user that link the front end Transaction Entry ([IPTR]), Attendance Control ([IAAL]) and Time Scheduling ([IPTS]) applications with the Payroll application.

The Define Time Codes (IDTC) function is used to define and maintain time codes.
* Time codes must be unique across the system
* Time codes are categorized by time code type for processing purposes
* When shifts are scheduled, the shift code is read from the [IDWR] (Work Rule) to determine which time code to use to generate time. The time code is displayed on the time sheets.

You must create a LWOP (Leave without pay) time code PRIOR to setting up any leave policies on [IALP]. However, when creating the LWOP time code do NOT indicate the Leave Type until AFTER you have established the LWOP policy.

It is valid to have more than one Time Code per Leave Type. The Time Codes for Bereavement Leave, Jury Duty, etc. may all apply to the Leave Type of Personal.

Time Codes data is maintained on the [P2K_CM_TIME_CODES] table.

;[Time Code|TIME_CODE]:This field holds a user-defined time code that uniquely identifies a type of time. 

;[Abbreviation|TIME_ABBREVIATION]:This is an abbreviation or short code for the type of time. 

;[Description|DESCRIPTION]:This field provides a short description of the time code defined. 

;[Time Type|TIME_TYPE]:This field is used to identify the type of time that this time code will store. Some options include, Regular, Premium, Leave, Leave Entitlement.

;[Leave Type|LEAVE_TYPE_CODE]:This is a user-defined code to indicate the leave type. This code was previously defined through the Leave Policy Types ([IAPT]) form. 

;[Alternate TC|DTC_ID_ALTERNATE]:Alternate Time Code is used by the payroll system to offer options during data entry of transactions (through [IPTR]) or through the generation of holidays (using the [UPTG] function). Transactions generated in [IPTR] may have "Alternate Time Code" toggled on which will result in this alternate time code being used when the transactions are taken to the Pay Headers/Pay Lines using [UPTR]. Holidays are normally generated using the time code specified on the Holiday Calendar ([IDHC]) screen. If the holiday calendar is set to be observed on the Holiday Date, and the day would normally be a day off for the employee (according to their schedule), this Alternate Time Code could be used to generate the time to a different time code.

;[PC Code|PC_CODE]:User-defined code that identifies a [pay component|PAY COMPONENTS]. If a Pay Transaction is to be recorded as a leave line then the connection between Attendance and Payroll must begin here. 

;[Time Basis|TIME_BASIS]:This field indicates the basis for the time type indicated. 

;[Adjust Scheduled Time|ADJUST_SCHEDULED_TIME]:If this toggle is ON, then any time entered in this time code will reduce any generated time for an employee in the Transaction Entry ([IPTR]) form. (i.e. Vacation, Sick, etc. should reduce the Regular Time generated for the employee for the same time frame)\\ \\ If this toggle is OFF, any time entered in this time code will be in addition to the  regularly scheduled time. (i.e. Overtime should be in addition to the employee’s regular time)

!External Integration
This section of the form is used by third party software which integrates with the application. 

;[Job Object|JOB_OBJECT]:This field indicates the last four characters of the GL charge code. The system will retrieve the Job Object and will append it to the Work Order. 
;[Work Order Required|WORK_ORDER_REQUIRED]:This field lets you indicate if a work order is mandatory for the time code. The system will validate the data against the external system.
;[Equipment Required|EQUIPMENT_REQUIRED]:This toggle indicates if Equipment must be specified on the transaction/time sheet entry for the time code. The system will validate the Equipment entry against Cayenta, this is controlled by a site preference called ‘[EQUIPMENT|EQUIPMENT(System_Preference)]’ having a value of ‘CAYENTA’.  
;[External Validation Allowed|EXTERNAL_VALIDATION_ALLOWED]:This toggle indicates if the [time code|TIME_CODE] should be included in the external validation.
;[Bypass Time Code|UPTR_IGNORE]:This toggle indicates transactions/time entries with this [time codes|TIME_CODE] should be bypassed from processing by the [UPTR] and [UPCTSP]. 

----
![Notes|Edit:Internal.IDTC] 	
[{InsertPage page='Internal.IDTC' default='Click to create a new notes page'}]