TRN_DPTSCTY_LNG(SQL View) |
Index Back |
---|---|
Department-Level SecurityThe 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. CSA Aug 27 : Enhanced for SetId |
SELECT B.SETID ,B.EFFDT ,B.DEPTID ,B.LANGUAGE_CD ,B.DESCR FROM PSTREENODE A ,PS_DEPT_TBL_LANG B ,PS_SCRTY_TREE_VW C WHERE A.SETID =B.SETID AND A.TREE_NAME = 'DEPT_SECURITY' AND A.SETID = C.SETID AND A.EFFDT = C.EFFDT AND C.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_SCRTY_TREE_VW D WHERE D.TREE_NAME = C.TREE_NAME AND D.SETID = C.SETID AND EFFDT <= %CurrentDateIn) AND A.TREE_NODE = B.DEPTID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
3 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |