RF_DEPT_ALL_LVW(SQL View) |
Index Back |
---|---|
DepartmentsThis view shows Related Language descriptions for Department values for all setids. Selects only the current active rows. |
SELECT A.DEPTID , L.LANGUAGE_CD , L.DESCR , L.DESCRSHORT FROM PS_DEPT_TBL A , PS_DEPT_TBL_LANG L WHERE A.SETID = L.SETID AND A.DEPTID = L.DEPTID AND A.EFFDT = L.EFFDT 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) AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | DEPTID | Character(15) | VARCHAR2(15) NOT NULL | Department |
2 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |