GM_EXP_APPROVER(SQL View) |
Index Back |
---|---|
Proposal Admin view |
SELECT B.OPRID , B.EMPLID , A.NAME FROM %Table(PSOPRDEFN) B , %Table(PERSONAL_DATA) A , %Table(JOB) C WHERE A.EMPLID = B.EMPLID AND A.EMPLID = C.EMPLID AND C.EMPL_STATUS = 'A' AND C.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_JOB C1 WHERE C1.EMPLID = C.EMPLID AND C1.EMPL_RCD = C.EMPL_RCD AND C1.EFFDT <= %CurrentDateIn) AND C.EFFSEQ = ( SELECT MAX(C2.EFFSEQ) FROM PS_JOB C2 WHERE C2.EMPLID = C.EMPLID AND C2.EMPL_RCD = C.EMPL_RCD AND C2.EFFDT = C.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EXCEPTION_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Exception Oprid. The operator id that all transactions with routing exceptions are routed to. |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
3 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |