VC_CHK_NPGRP_VW(SQL View) |
Index Back |
---|---|
Tree Groups Security ViewVariable Comp: this view returns Tree/groups. All trees defined prior to the current date are returned. GB_OPRID and PNLGRPNAME allow to check if the row is accessible for the current operator and panelgroup. |
SELECT B.GB_OPRID , B.PNLGRPNAME , A.TREE_NAME , A.TREE_EFFDT , A.GB_GROUP_ID ,C.DESCR FROM PS_VC_TREE_ALND_VW A , PS_GB_SECPNLG_TBL B , PS_GB_GROUP_TBL C WHERE A.GB_GROUP_ID = B.GB_GROUP_ID AND B.GB_GROUP_ID = C.GB_GROUP_ID AND A.TREE_EFFDT = ( SELECT MAX(TREE_EFFDT) FROM PS_VC_TOP_GROUP_VW WHERE TREE_NAME = A.TREE_NAME AND TREE_EFFDT <= %CurrentDateIn) AND %EffdtCheck(GB_GROUP_TBL, C, %CurrentDateIn) AND C.EFF_STATUS = 'A' AND %EffdtCheck(GB_SECPNLG_TBL, B, %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | GB_OPRID | Character(30) | VARCHAR2(30) NOT NULL | User ID |
2 | PNLGRPNAME | Character(18) | VARCHAR2(18) NOT NULL | Component Name |
3 | TREE_NAME | Character(18) | VARCHAR2(18) NOT NULL | Tree Name |
4 | TREE_EFFDT | Date(10) | DATE NOT NULL | Effective date of the Tree |
5 | GB_GROUP_ID | Character(15) | VARCHAR2(15) NOT NULL | Group Build ID. |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |