TREE_LVLBUS_VW

(SQL View)
Index Back

nPrompt


SELECT b.setid , a.tree_name , a.tree_level , a.effdt , b.descr FROM pstreelevel a , PS_TREE_LEVEL_TBL b WHERE b.setid = a.setcntrlvalue AND b.tree_level = a.tree_level AND b.eff_status = 'A' AND b.effdt = ( SELECT MAX(c.effdt) FROM PS_TREE_LEVEL_TBL c WHERE c.setid = b.setid AND c.tree_level = b.tree_level AND c.effdt <= a.effdt)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 TREE_NAME_SETID Character(5) VARCHAR2(5) NOT NULL TableSet
2 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name

Prompt Table: PT_TREEDEFN_VW

3 TREE_LEVEL Character(10) VARCHAR2(10) NOT NULL Tree Level Number

Prompt Table: TREE_LEVEL_TBL

4 EFFDT Date(10) DATE NOT NULL Effective Date
5 DESCR Character(30) VARCHAR2(30) NOT NULL Description