PROJ_TREE_SRCH

(SQL View)
Index Back

Project Tree Hierarchy Search


SELECT C.SETID , C.EFFDT , C.TREE_NAME , C.TREE_LEVEL_NUM , A.PROJECT_ID , B.TREE_LEVEL_NUM , A.BUSINESS_UNIT , D.PROJECT_ID , D.DESCR , D.PROJECT_TYPE , D.BUSINESS_UNIT FROM PS_PROJECT A , PS_PROJECT D , PSTREENODE C , PSTREENODE B WHERE C.SETCNTRLVALUE = A.BUSINESS_UNIT AND C.TREE_NODE = A.PROJECT_ID AND B.SETCNTRLVALUE = C.SETCNTRLVALUE AND B.TREE_NAME = C.TREE_NAME AND B.EFFDT = C.EFFDT AND B.TREE_NODE = D.PROJECT_ID AND B.SETCNTRLVALUE = D.BUSINESS_UNIT AND B.TREE_NODE_NUM BETWEEN C.TREE_NODE_NUM AND C.TREE_NODE_NUM_END

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 TREE_SETID Character(5) VARCHAR2(5) NOT NULL Tree SetID

Prompt Table: SP_SETID_NONVW

2 TREE_EFFDT Date(10) DATE Effective date of the Tree
3 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name

Prompt Table: PROJ_TREE_VW

4 PARENT_PROJ_LEVEL Number(3,0) SMALLINT NOT NULL Parent Project Level
5 PARENT_PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Parent Project ID
6 CHILD_PROJ_LEVEL Number(3,0) SMALLINT NOT NULL Child Project Level
7 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_PC_NONVW

8 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

Prompt Table: PROJ_XCHILD_VW

9 DESCR Character(30) VARCHAR2(30) NOT NULL Description
10 PROJECT_TYPE Character(5) VARCHAR2(5) NOT NULL Project Type
A=Activity
G=Grant
H=Phase
P=Project
S=Segment

Prompt Table: PROJ_TYPE_TBL

11 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Prompt Table: SETID_TBL