TL_OT_VW(SQL View) |
Index Back |
---|---|
Request Overtime - view |
SELECT DISTINCT A.EMPLID , A.EMPL_RCD , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , 'N' , A.TL_SEQ_NUM , A.TL_SUBMIT_DT , A.TL_OT_DATE , A.TL_OT_STATUS , A.TL_OT_HOURS , 0 , 0 FROM PS_TL_OT_DATA A , PS_PERSON_NAME B , PS_TL_MGR_SRCH_VW C WHERE A.EMPLID=B.EMPLID AND A.EMPLID=C.EMPLID AND A.EMPL_RCD=C.EMPL_RCD AND A.TL_OT_STATUS IN ('NAP', 'PBK') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: TL_EMPL_NAME_VW |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
3 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
4 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
5 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
6 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: BUS_UNIT_TBL_HR |
7 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL | Job Code |
8 | JOB_DESCR | Character(30) | VARCHAR2(30) NOT NULL |
Job Description
Prompt Table: TL_JOB_DESC_VW |
9 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: DEPT_TBL |
10 | DEPT_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Department Description |
11 | SUPERVISOR_ID | Character(11) | VARCHAR2(11) NOT NULL |
Supervisor ID
Prompt Table: TL_SUPRVSR_VW |
12 | REPORTS_TO | Character(8) | VARCHAR2(8) NOT NULL |
Reports To Position Number
Prompt Table: TL_RPTS_TO_VW |
13 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL |
Location Code
Prompt Table: LOCATION_TBL |
14 | LOC_DESCR_SS | Character(30) | VARCHAR2(30) NOT NULL | Location Description |
15 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL |
Company
Prompt Table: COMPANY_TBL |
16 | PAYGROUP | Character(3) | VARCHAR2(3) NOT NULL |
North American Pay Group
Prompt Table: PAYGROUP_TBL |
17 | GP_PAYGROUP | Character(10) | VARCHAR2(10) NOT NULL | Global Payroll pay group |
18 | WORKGROUP | Character(10) | VARCHAR2(10) NOT NULL |
Workgroup
Prompt Table: TL_WRKGRP_TBL |
19 | TASKGROUP | Character(10) | VARCHAR2(10) NOT NULL |
Taskgroup
Prompt Table: TL_TASKGRP_TBL |
20 | POSITION_NBR | Character(8) | VARCHAR2(8) NOT NULL | Position Number |
21 | SCHEDULE_GRP | Character(10) | VARCHAR2(10) NOT NULL | Scheduling Organizational Group Code |
22 | PROCESSED | Character(1) | VARCHAR2(1) NOT NULL |
Processed?
I=In Process N=Not Processed Y=Processed Y/N Table Edit Default Value: N |
23 | TL_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Table Lookup Sequence Number |
24 | TL_SUBMIT_DT | Date(10) | DATE | Submit Date |
25 | TL_OT_DATE | Date(10) | DATE | Overtime Date on Request. |
26 | TL_OT_STATUS | Character(3) | VARCHAR2(3) NOT NULL |
Status
APV=Approved DNY=Denied ERR=Error NAP=Needs Approval PBK=Push Back SUB=Submitted |
27 | TL_OT_HOURS | Number(5,2) | DECIMAL(4,2) NOT NULL | Overtime Hours |
28 | ACTUAL_HOURS | Signed Number(12,2) | DECIMAL(10,2) NOT NULL | Actual Hours |
29 | PROJECTED_HOURS | Signed Number(4,0) | DECIMAL(3) NOT NULL | Projected Hours |