PY_DEPT_VW(SQL View) |
Index Back |
---|---|
Department IDThe view shows the department id on department table. |
SELECT DISTINCT A.DEPTID , A.DESCR FROM PS_DEPT_TBL A WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_DEPT_TBL A1 WHERE A1.DEPTID = A.DEPTID AND A1.EFFDT <= %CurrentDateIn AND A1.EFF_STATUS = 'A') |
# | 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 |