PI_MULT_DED_VW(SQL View) |
Index Back |
---|---|
Mult Job Benefit VwSELECT A.EMPLID , A.COMPANY , A.EMPL_RCD , D.BENEFIT_PROGRAM FROM PS_JOB A , PS_BEN_PROG_PARTIC D WHERE A.EFFDT=( SELECT MAX(B.EFFDT) FROM PS_JOB B WHERE B.EMPLID=A.EMPLID AND B.EMPL_RCD=A.EMPL_RCD AND B.COMPANY=A.COMPANY) AND A.EFFSEQ=( SELECT MAX(C.EFFSEQ) FROM PS_JOB C WHERE C.EMPLID=A.EMPLID AND C.EMPL_RCD=A.EMPL_RCD AND C.EFFDT=A.EFFDT AND C.COMPANY=A.COMPANY) AND A.EMPLID=D.EMPLID AND A.EMPL_RCD=D.EMPL_RCD |
SELECT A.EMPLID , A.COMPANY , A.EMPL_RCD , D.BENEFIT_PROGRAM FROM PS_JOB A , PS_BEN_PROG_PARTIC D WHERE A.EFFDT=( SELECT MAX(B.EFFDT) FROM PS_JOB B WHERE B.EMPLID=A.EMPLID AND B.EMPL_RCD=A.EMPL_RCD AND B.COMPANY=A.COMPANY) AND A.EFFSEQ=( SELECT MAX(C.EFFSEQ) FROM PS_JOB C WHERE C.EMPLID=A.EMPLID AND C.EMPL_RCD=A.EMPL_RCD AND C.EFFDT=A.EFFDT AND C.COMPANY=A.COMPANY) AND A.EMPLID=D.EMPLID AND A.EMPL_RCD=D.EMPL_RCD |
# | 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 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Rcd Nbr |
4 | BENEFIT_PROGRAM | Character(3) | VARCHAR2(3) NOT NULL |
Defines a collection of benefit plans and their associated rate and calculation rules.
Prompt Table: BEN_DEFN_PGM |