GPFR_AED_SEL_S(SQL View) |
Index Back |
---|---|
AEDEMAT scrollselect viewAEDEMATscrollselect view. Used to display the employees the end-user can user for extraction. |
SELECT DISTINCT SEC.OPRID , A.CAL_RUN_ID , B.COMPANY , A.EMPLID , A.EMPL_RCD , C.NAME , %DateAdd(B.EFFDT, -1) , F.CONTRACT_NUM FROM PS_GP_PYE_PRC_STAT A , PS_JOB B , PS_PERSON_NAME C , PS_CONTRACT_DATA F %Sql(GPFR_SECU_EMPLMT_SQL, A) AND B.EMPLID = A.EMPLID AND B.EMPLID = F.EMPLID AND C.EMPLID = A.EMPLID AND B.EMPL_RCD = A.EMPL_RCD AND F.CONTRACT_NUM = B.CONTRACT_NUM AND F.CONTRACT_END_DT <= A.PRD_END_DT AND F.CONTRACT_END_DT >= A.PRD_BGN_DT AND B.ACTION IN ('TER') AND A.EMPL_RCD = B.EMPL_RCD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | CAL_RUN_ID | Character(18) | VARCHAR2(18) NOT NULL | Calendar Run Id |
3 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
4 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
5 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Rcd Nbr |
6 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
7 | TERMINATION_DT | Date(10) | DATE | Termination Date |
8 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL | Contract Number |