RF_CRITDEPT_VW

(SQL View)
Index Back

Departments

This view is used to validate the Department for assignment engine search criteria. Selects only the current active rows.

SELECT A.SETID , A.DEPTID , A.EFFDT , A.EFF_STATUS , A.DESCR , A.DESCRSHORT ,COMPANY ,SETID_LOCATION ,LOCATION ,MANAGER_ID , MANAGER_POSN 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_CRITDEPT_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID_WRK Character(5) VARCHAR2(5) NOT NULL SetID

    Prompt Table: SP_SETID_NONVW

    2 DEPTID Character(15) VARCHAR2(15) NOT NULL Department
    3 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    4 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive

    Default Value: A

    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    6 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
    7 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
    8 SETID_LOCATION Character(5) VARCHAR2(5) NOT NULL Location SetID

    Prompt Table: SP_SETID_NONVW

    9 LOCATION Character(15) VARCHAR2(15) NOT NULL This field stores the Location Code.

    Prompt Table: SET_LOC_VW

    10 MANAGER_ID Character(11) VARCHAR2(11) NOT NULL Manager ID

    Prompt Table: RB_EMPLID_VW

    11 MANAGER_POSN Character(8) VARCHAR2(8) NOT NULL Manager Position