GPJP_UC_RCD_VW(SQL View) |
Index Back |
---|---|
Payee List ViewView Employment Records with Unemployment Certificate data. |
SELECT B.EMPLID , B.EMPL_RCD , B.GPJP_UC_TERM_DATE , A.NAME , A.LAST_NAME_SRCH , J.BUSINESS_UNIT , J.DEPTID , J.PER_ORG , A.NAME_AC FROM PS_PERSON_NAME A , PS_GPJP_UC_HEADER B , PS_JOB J WHERE B.GPJP_WC_PROC = 'N' AND J.APPT_TYPE <> '1' AND A.EMPLID = B.EMPLID AND A.EMPLID = J.EMPLID AND J.EFFDT= ( SELECT MAX(JOB2.EFFDT) FROM PS_JOB JOB2 WHERE J.EMPLID=JOB2.EMPLID AND J.EMPL_RCD=JOB2.EMPL_RCD AND JOB2.EFFDT <= B.GPJP_UC_TERM_DATE ) AND J.EFFSEQ= ( SELECT MAX(JOB3.EFFSEQ) FROM PS_JOB JOB3 WHERE J.EMPLID=JOB3.EMPLID AND J.EMPL_RCD=JOB3.EMPL_RCD AND J.EFFDT = JOB3.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 | GPJP_UC_TERM_DATE | Date(10) | DATE | Unemployement Cert |
4 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
5 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
6 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
7 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
8 | PER_ORG | Character(3) | VARCHAR2(3) NOT NULL |
Defines the Organizational Relationship(s) that a Person has to the Organization. These are Employee, Contingent Worker, and Persons of Interest.
CWR=Contingent Worker EMP=Employee POI=Person of Interest |
9 | NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Alternate Character Name |