RF_DEPT_ALL_VW

(SQL View)
Index Back

Departments

This view shows Department values for all setids. Selects only the current active rows.

SELECT A.SETID , A.DEPTID , A.DESCR , A.DESCRSHORT FROM PS_DEPT_TBL A WHERE 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'

  • Related Language Record: RF_DEPT_ALL_LVW
  • # 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 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    4 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description