GP_JB_DESCR_VW(SQL View) |
Index Back |
---|---|
Employee Info for job detailsEmployee Info For Dir Rpts on the Oprrows_Multi page. |
SELECT A.EMPLID , A.EMPL_RCD , A.EFFDT ,A.EFFSEQ , JC.DESCRSHORT , DP.DESCRSHORT ,LC.DESCR ,A.CONTRACT_NUM ,CNT.CONTRACT_TYPE ,CNT.CONTRACT_END_DT ,A.EMPL_STATUS ,A.HR_STATUS ,A.LAST_HIRE_DT ,A.TERMINATION_DT ,A.COMPANY ,A.BUSINESS_UNIT ,A.ESTABID ,A.GP_PAYGROUP ,A.EMPL_CLASS , A.POSITION_NBR ,A.JOBCODE ,A.MONTHLY_RT ,A.FTE FROM PS_JOB A LEFT OUTER JOIN PS_CNT_ACTIVE_VW CNT ON (CNT.EMPLID = A.EMPLID AND CNT.CONTRACT_NUM = A.CONTRACT_NUM AND (CNT.CONTRACT_END_DT IS NULL OR CNT.CONTRACT_END_DT >= A.EFFDT)) , PS_JOBCODE_TBL JC , PS_DEPT_TBL DP , PS_LOCATION_TBL LC WHERE JC.EFFDT = ( SELECT MAX(JC_ED.EFFDT) FROM PS_JOBCODE_TBL JC_ED WHERE JC_ED.SETID = A.SETID_JOBCODE AND JC_ED.JOBCODE = A.JOBCODE AND JC_ED.EFF_STATUS = 'A' AND JC_ED.EFFDT <= A.EFFDT) AND JC.SETID = A.SETID_JOBCODE AND JC.JOBCODE = A.JOBCODE AND JC.EFF_STATUS = 'A' AND JC.EFFDT <= A.EFFDT AND DP.SETID = A.SETID_DEPT AND DP.DEPTID = A.DEPTID AND DP.EFF_STATUS = 'A' AND LC.SETID = A.SETID_LOCATION AND LC.LOCATION = A.LOCATION AND LC.EFFDT <= A.EFFDT AND LC.EFF_STATUS = 'A' AND DP.EFFDT = ( SELECT MAX(DP_ED.EFFDT) FROM PS_DEPT_TBL DP_ED WHERE DP_ED.SETID = A.SETID_DEPT AND DP_ED.DEPTID = A.DEPTID AND DP_ED.EFF_STATUS = 'A' AND DP_ED.EFFDT <= A.EFFDT) AND LC.EFFDT = ( SELECT MAX(LC_ED.EFFDT) FROM PS_LOCATION_TBL LC_ED WHERE LC_ED.SETID = A.SETID_LOCATION AND LC_ED.LOCATION = A.LOCATION AND LC_ED.EFF_STATUS = 'A' AND LC_ED.EFFDT <= A.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | EFFSEQ | Number(3,0) | SMALLINT NOT NULL | Effective Sequence |
5 | JOBCODE_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Job Code Description |
6 | DEPTNAME | Character(30) | VARCHAR2(30) NOT NULL | Department Name |
7 | LOCATION_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Location Description |
8 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL | Contract Number |
9 | CONTRACT_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Contract Type |
10 | CONTRACT_END_DT | Date(10) | DATE | Contract End Date |
11 | EMPL_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Payroll Status
A=Active D=Deceased L=Leave of Absence P=Leave With Pay Q=Retired With Pay R=Retired S=Suspended T=Terminated U=Terminated With Pay V=Terminated Pension Pay Out W=Short Work Break X=Retired-Pension Administration |
12 | HR_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
HR Status
A=Active I=Inactive |
13 | HIRE_DT | Date(10) | DATE | First Start Date |
14 | TERMINATION_DT | Date(10) | DATE | Termination Date |
15 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
16 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
17 | ESTABID | Character(12) | VARCHAR2(12) NOT NULL | Establishment ID |
18 | GP_PAYGROUP | Character(10) | VARCHAR2(10) NOT NULL | Global Payroll pay group |
19 | EMPL_CLASS | Character(3) | VARCHAR2(3) NOT NULL | Employee Classification |
20 | POSITION_NBR | Character(8) | VARCHAR2(8) NOT NULL | Position Number |
21 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL | Job Code |
22 | MONTHLY_RT | Number(19,3) | DECIMAL(18,3) NOT NULL | Monthly Rate |
23 | FTE | Number(8,6) | DECIMAL(7,6) NOT NULL | This field represent Full Time Equivalence |