GVT_JOB_OTH_VW(SQL View) |
Index Back |
---|---|
Other Job RecordsJOB_OTH_VW is used within Job Data to screen on Multiple Jobs. It selects all 'other' Job records for a current Employment record. Only the highest Sequence Numbers by Effective Date are considered. |
SELECT A.EMPLID , A.EMPL_RCD , B.EMPL_RCD , B.EFFDT , B.EMPL_STATUS , B.JOB_INDICATOR , B.STD_HOURS , B.COMP_FREQUENCY , B.FTE , B.ADDS_TO_FTE_ACTUAL FROM PS_GVT_EMPLOYMENT A , PS_GVT_JOB B WHERE A.EMPLID = B.EMPLID AND A.EMPL_RCD <> B.EMPL_RCD AND B.EFFSEQ = ( SELECT MAX(EFFSEQ) FROM PS_GVT_JOB WHERE EMPLID = B.EMPLID AND EMPL_RCD = B.EMPL_RCD AND EFFDT = B.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 | EMPL_RCD_OTH | Number(3,0) | SMALLINT NOT NULL | Other Employment Record |
4 | EFFDT_OTH | Date(10) | DATE | Other Effective Date |
5 | 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 |
6 | JOB_INDICATOR | Character(1) | VARCHAR2(1) NOT NULL |
This Indicator is used on JOB to specify which employment record is considered to be the primary one for an employee.
In case of Multiple Jobs per Employee, this property is being used to make a conscious decision in related features where only 1 Employment Record per Employee needs to be returned.
N=Not Applicable P=Primary Job S=Secondary Job |
7 | STD_HOURS | Number(7,2) | DECIMAL(6,2) NOT NULL | Standard Hours |
8 | COMP_FREQUENCY | Character(5) | VARCHAR2(5) NOT NULL |
Compensation Frequency
A=Annual B=Biweekly C=Contract D=Daily H=Hourly M=Monthly S=Semimonthly W=Weekly |
9 | FTE | Number(8,6) | DECIMAL(7,6) NOT NULL | This field represent Full Time Equivalence |
10 | ADDS_TO_FTE_ACTUAL | Character(1) | VARCHAR2(1) NOT NULL | Adds to FTE Actual Count |