index back

Tree Node Level View

Includes 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 Field Type Column Type Description
SETCNTRLVALUE Character(20) VARCHAR2(20) NOT NULL Tree Definition User Key Value
TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
TREE_NODE Character(20) VARCHAR2(20) NOT NULL Node name
EFFDT Date(10) DATE NOT NULL Effective Date
DESCR Character(30) VARCHAR2(30) NOT NULL Description
index back (c)David Kurtz 2020, www.go-faster.co.uk PeopleTools 8.58
PTRef generated on 21-DEC-20