GP_AB_DEPTID_VW(SQL View) |
Index Back |
---|---|
Department ID ViewDepartment ID View for Payroll Analytics |
SELECT DISTINCT B.DEPTID , B.DEptname FROM ps_dept_tbl A , PS_HGA_PG_EMP_DET B , PS_GP_ABS_ANLYTICS C WHERE A.DEPTID = B.DEPTID AND a.setid=b.setid_dept AND b.emplid=c.emplid AND b.empl_rcd=c.empl_rcd AND b.gp_paygroup=c.gp_paygroup AND a.effdt=( SELECT MAX(ch.effdt) FROM ps_dept_tbl ch WHERE ch.setid=a.setid AND ch.deptid=a.deptid) |
# | 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 |