HR_DEPTLY3_VW(SQL View) |
Index Back |
---|---|
Department ViewUnion Hourly Department ID View. |
SELECT DISTINCT A.SETID , A.DEPTID ,A.DESCR ,A.COMPANY FROM PS_DEPT_TBL A WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_DEPT_TBL B WHERE A.DEPTID = B.DEPTID AND A.SETID = B.SETID AND A.DESCR = B.DESCR AND A.COMPANY = B.COMPANY AND B.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID_DEPT | Character(5) | VARCHAR2(5) NOT NULL |
Department Set ID
Prompt Table: SETID_TBL |
2 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL |
Company
Prompt Table: COMPANY_TBL |