HR_DEPTLY4_VW

(SQL View)
Index Back

Department View

Department View

SELECT DISTINCT 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.DEPTID = B.DEPTID AND A.SETID = B.SETID 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 EFFDT Date(10) DATE Effective Date

Default Value: %date