EPO_DEPT_EFF_VW

(SQL View)
Index Back

Departments accessible to Opr

current department table accessible to Operators

SELECT SRCH.OPRID , A.SETID , A.DEPTID , %Upper(A.DESCR) , A.DESCR , A.DESCRSHORT , A.MANAGER_ID , A.EFF_STATUS FROM PS_DEPT_TBL A , PS_DEPARTMENT_SRCH SRCH WHERE A.SETID = SRCH.SETID AND A.DEPTID = SRCH.DEPTID AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_DEPT_TBL B WHERE B.SETID = A.SETID AND B.DEPTID = A.DEPTID AND B.EFF_STATUS = 'A' AND B.EFFDT <= %CurrentDateIn)

  • Related Language Record: EPO_DEPT_EFF_LV
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    2 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_HR.SETID

    Prompt Table: SET_VLD_HR_01

    3 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    5 DEPT_DESCR Character(30) VARCHAR2(30) NOT NULL Department Description
    6 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
    7 MANAGER_ID Character(11) VARCHAR2(11) NOT NULL Manager ID
    8 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive

    Default Value: A