IT_STNODE_LVL

(SQL View)
Index Back

SELECT C.SETID , A.TREE_NAME , A.TREE_LEVEL , C.TREE_NODE , 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 TREE_SETID Character(5) VARCHAR2(5) NOT NULL Tree SetID
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 DESCR Character(30) VARCHAR2(30) NOT NULL Description