GP_DEPT_VW1(SQL View) |
Index Back |
---|---|
department viewused in payroll analytics for department view |
SELECT DISTINCT A.DEPTID ,A.DESCR FROM PS_DEPT_TBL A ,PS_GP_PA_RSLT_ANL B WHERE A.EFFDT=( SELECT MAX(A1.EFFDT) FROM PS_DEPT_TBL A1 WHERE A1.DEPTID=A.DEPTID AND A1.SETID=A.SETID AND A.EFFDT <=B.SEG_END_DT AND A.EFF_STATUS='A') AND A.DEPTID=B.DEPTID AND B.CAL_RUN_ID IN ( SELECT CAL_RUN_ID FROM PS_GP_CALRUN_VW1) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
2 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |