GL_K_TNODE_VW

(SQL View)
Index Back

Prompt View for Tree Node


SELECT L.SETID , L.TREE_NAME , L.EFFDT , L.TREE_LEVEL_NUM , D.DESCR FROM PSTREELEVEL L , PSTREENODE N , PS_TREE_NODE_TBL D WHERE N.TREE_NAME=L.TREE_NAME AND N.SETID=L.SETID AND N.EFFDT=L.EFFDT AND N.TREE_LEVEL_NUM=L.TREE_LEVEL_NUM AND D.TREE_NODE = N.TREE_NODE AND D.SETID = N.SETID AND D.EFFDT = ( SELECT MAX(EFFDT) FROM PS_TREE_NODE_TBL WHERE SETID = D.SETID AND TREE_NODE = D.TREE_NODE AND EFFDT <= N.EFFDT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
3 EFFDT Date(10) DATE Effective Date

Default Value: %date

4 TREE_LEVEL_NUM Number(3,0) SMALLINT NOT NULL Parent tree level if this is a part of the PSTREEBRANCH record
5 DESCR Character(30) VARCHAR2(30) NOT NULL Description