RF_CAT_DEPT_LVW(SQL View) |
Index Back |
---|---|
DepartmentsThis view is used to validate the Department for internal agreement criteria matches. Selects only the current active rows. |
SELECT A.SETID , L.DEPTID , L.LANGUAGE_CD , L.EFFDT , L.DESCR FROM PS_DEPT_TBL A , PS_DEPT_TBL_LANG L WHERE L.SETID = A.SETID AND L.DEPTID = A.DEPTID AND L.EFFDT = A.EFFDT AND A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_DEPT_TBL B WHERE B.SETID = A.SETID AND B.DEPTID = A.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
Prompt Table: SP_SETID_NONVW |
2 | DEPTID | Character(15) | VARCHAR2(15) NOT NULL | Department |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |