NVS_TREENODE_VW(SQL View) |
Index Back |
---|---|
Tree Node Level ViewIncludes Set IDs. Used for prompting when a user specifies a level in the page. |
SELECT c.setid , a.tree_name , c.tree_node , a.effdt , c.descr FROM pstreelevel a , pstreenode b , PS_TREE_NODE_TBL c WHERE a.setid = b.setid AND a.setid = c.setid AND a.tree_name = b.tree_name AND a.tree_level_num = b.tree_level_num AND a.effdt = b.effdt AND b.tree_node = c.tree_node AND c.eff_status = 'A' AND c.effdt = ( SELECT MAX(d.effdt) FROM PS_TREE_NODE_TBL d WHERE d.setid = c.setid AND d.tree_node = c.tree_node AND d.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 |