HR_DEPTL_LY3_VW

(SQL View)
Index Back

Departments


SELECT DISTINCT A.DEPTID , A.SETID ,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)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
2 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Default Value: OPR_DEF_TBL_HR.SETID

Prompt Table: SET_VLD_HR_01

3 EFFDT Date(10) DATE NOT NULL Effective Date

Default Value: %date