GPCH_MC_JOB_VW2(SQL View) |
Index Back |
---|---|
Multi Contract Job ViewMulti Contract Job View |
SELECT JOB.EMPLID ,JOB.COMPANY ,B.OPRID ,JOB.EMPL_RCD ,JOB.EFFDT ,JOB.EFFSEQ ,JOB.ACTION ,JOB.EMPL_STATUS ,JOB.BUSINESS_UNIT ,JOB.DEPTID ,JOB.JOBCODE ,JOB.LOCATION ,JOB.FULL_PART_TIME ,JOB.STD_HOURS ,JOB.STD_HRS_FREQUENCY ,JOB.FTE ,JOB.GP_PAYGROUP ,JOB.CURRENCY_CD ,JOB.COMPRATE ,JOB.COMP_FREQUENCY FROM PS_JOB JOB , PS_GPCH_MC_JOB_VW B WHERE JOB.EMPLID = B.EMPLID AND JOB.EMPL_RCD = B.EMPL_RCD AND JOB.COMPANY = B.COMPANY AND NOT EXISTS ( SELECT 1 FROM PS_GPCH_MC_COMPANY C WHERE C.COMPANY = B.COMPANY AND C.GPCH_MC_ENABLE = 'Y' AND JOB.EMPL_RCD = C.GPCH_MC_LEGAL_RCD AND C.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_GPCH_MC_COMPANY D WHERE D.COMPANY = C.COMPANY AND D.GPCH_MC_ENABLE = 'Y' AND D.EFFDT <= JOB.EFFDT)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
3 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
4 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Rcd Nbr |
5 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
6 | EFFSEQ | Number(3,0) | SMALLINT NOT NULL | Effective Sequence |
7 | ACTION | Character(3) | VARCHAR2(3) NOT NULL |
Action
Prompt Table: ACTION_TBL |
8 | 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 |
9 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
10 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
11 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL | Job Code |
12 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
13 | FULL_PART_TIME | Character(1) | VARCHAR2(1) NOT NULL |
Full/Part Time
D=On Demand F=Full-Time P=Part-Time |
14 | STD_HOURS | Number(7,2) | DECIMAL(6,2) NOT NULL | Standard Hours |
15 | STD_HRS_FREQUENCY | Character(5) | VARCHAR2(5) NOT NULL | Standard Work Period |
16 | FTE | Number(8,6) | DECIMAL(7,6) NOT NULL | This field represent Full Time Equivalence |
17 | GP_PAYGROUP | Character(10) | VARCHAR2(10) NOT NULL | Global Payroll pay group |
18 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
19 | COMPRATE | Number(19,6) | DECIMAL(18,6) NOT NULL | Compensation Rate |
20 | 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 |