RB_WORK_DEPT_VW(SQL View) |
Index Back |
---|---|
Departement ViewThis view returns active departments. |
SELECT A.SETID ,A.DEPTID ,A.EFFDT FROM PS_DEPT_TBL A WHERE A.EFFDT= ( SELECT MAX(B.EFFDT) FROM PS_DEPT_TBL B WHERE A.SETID =B.SETID AND A.DEPTID= B.DEPTID AND B.EFFDT<=%CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID_DEPT | Character(5) | VARCHAR2(5) NOT NULL | Department SetID |
2 | DEPTID | Character(15) | VARCHAR2(15) NOT NULL | Department |
3 | EFFDT | Date(10) | DATE | Effective Date |