[{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. Time_Codes is a mandatory 16-character alphanumeric field that must be manually entered.

;[Abbreviation|TIME_ABBREVIATION]:This is an abbreviation or short code for the type of time. Time_Abbreviation is a mandatory 30-character alphanumeric field that must be manually entered.

;[Description|DESCRIPTION]:This field provides a short description of the time code defined. Description is an optional 50-character alphanumeric field that may be manually entered.

;[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. Time_Type is a fixed lexicon ([X_TIME_TYPE]) that the user may use to choose the mandatory value.

;[Time Basis|TIME_BASIS]:This field indicates the basis for the time type indicated. Time_Basis is a fixed lexicon ([X_TIME_BASIS]) that the user may use to choose the mandatory value.

;[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. PC_Code is an optional 16-character alphanumeric field that the user must manually enter or use the LOV (F9).

;[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. Leave_Type_Code is a 16-character alphanumeric field that the user must manually enter or use the LOV (F9).
;[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)
;[Job Object|JOB_OBJECT]:This is a custom field.

;[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.


[{If var='loginstatus' contains 'authenticated'

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

}]