TREE_ND_LVL_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, a.tree_level, 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_LEVEL | Character(10) | VARCHAR2(10) NOT NULL | Tree Level Number |
4 | TREE_NODE | Character(20) | VARCHAR2(20) NOT NULL | Node name |
5 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |