GM_TREELEVEL_VW

(SQL View)
Index Back

Tree Level View

PSTREELEVEL with the addition of PSTREEDEFN.EFF_STATUS. Used as prompt table for GM_PRJ_BUD_HDR.TREE_LEVEL. Note: Table PS_TREE_LEVEL_TBL was previously joined to provide a value for DESCR, but that table did not contain all rows. PS_TREE_LEVEL_TBL could be rejoined if it is guaranteed complete, or if outer joins become available.

select B.SETID, B.TREE_NAME, B.TREE_LEVEL_NUM, B.TREE_LEVEL, B.EFFDT, A.EFF_STATUS, ' ' from PSTREEDEFN A, PSTREELEVEL B where B.SETID = A.SETID and B.TREE_NAME = A.TREE_NAME and B.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_NUM Number(3,0) SMALLINT NOT NULL Parent tree level if this is a part of the PSTREEBRANCH record
4 TREE_LEVEL Character(10) VARCHAR2(10) NOT NULL Tree Level Number
5 EFFDT Date(10) DATE Effective Date
6 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
7 DESCR Character(30) VARCHAR2(30) NOT NULL Description