NVSALLTREEND_VW(SQL View) |
Index Back |
---|---|
Tree Node Level ViewIncludes Set IDs. Used for prompting when a user specifies a level in the page. |
SELECT a.SETID , a.TREE_NAME , b.TREE_NODE , a.EFFDT , b.DESCR FROM PSTREENODE a , PS_TREE_NODE_TBL b WHERE a.SETID = b.SETID AND a.TREE_NODE = b.TREE_NODE AND b.EFF_STATUS = 'A' AND b.EFFDT = ( SELECT MAX(c.EFFDT) FROM PS_TREE_NODE_TBL c WHERE c.SETID = a.SETID AND c.TREE_NODE = a.TREE_NODE AND c.EFF_STATUS = 'A' AND c.EFFDT <= a.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETCNTRLVALUE | Character(20) | VARCHAR2(20) NOT NULL | Tree Definition User Key Value |
2 | TREE_NAME | Character(18) | VARCHAR2(18) NOT NULL | Tree Name |
3 | TREE_NODE | Character(20) | VARCHAR2(20) NOT NULL | Node name |
4 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |