DEPT_SCRTY_VW(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. |
SELECT A.SETID , B.DEPTID , A.EFFDT ,B.DESCR ,A.TREE_NODE_NUM ,A.TREE_NODE_NUM_END FROM PSTREENODE A ,PS_DEPT_TBL B WHERE A.TREE_NAME = 'DEPT_SECURITY' AND A.SETCNTRLVALUE = ' ' AND A.SETID = B.SETID AND A.TREE_NODE = B.DEPTID AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_DEPT_TBL C WHERE C.SETID = A.SETID AND C.DEPTID = A.TREE_NODE AND C.EFFDT <= A.EFFDT) |
# | 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 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | TREE_NODE_NUM | Number(10,0) | DECIMAL(10) NOT NULL | Internal beginning node range number |
6 | TREE_NODE_NUM_END | Number(10,0) | DECIMAL(10) NOT NULL | Internal ending node range number |