GPCH_MC_JOB_VW1(SQL View) |
Index Back |
---|---|
Multi Contract Job ViewMulti Contract Job View |
SELECT DISTINCT B.EMPLID , JOB.COMPANY , B.OPRID , B.EMPL_RCD FROM PS_EMPLMT_SRCH_GBL B , PS_JOB JOB WHERE JOB.EMPLID = B.EMPLID AND JOB.EMPL_RCD = B.EMPL_RCD AND EXISTS ( SELECT 1 FROM PS_GPCH_MC_COMPANY C WHERE C.COMPANY = JOB.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 Record |