DEPT_SCRTY_LANG

(SQL View)
Index Back

Department-Level Security

The Operator Security module uses this table to determine which employee data the operator can access. If the operator is granted access to a specified department, then they can access all employees assigned to that department.

SELECT B.SETID , B.DEPTID ,B.LANGUAGE_CD , A.EFFDT ,B.DESCR FROM PSTREENODE A ,PS_DEPT_TBL_LANG B WHERE A.SETID = B.SETID AND A.TREE_NAME = 'DEPT_SECURITY' AND A.TREE_NODE = B.DEPTID AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_DEPT_TBL_LANG B1 WHERE B1.SETID = B.SETID AND B1.DEPTID = B.DEPTID AND B1.LANGUAGE_CD = B.LANGUAGE_CD AND B1.EFFDT <= A.EFFDT)

  • Related Language Record for DEPT_SCRTY_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Prompt Table: SET_VLD_HR_01

    2 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description