PC_TREE_PRJ_VW(SQL View) |
Index Back |
---|---|
Tree Project ID ViewShow the Project IDs in the Project Tree |
SELECT %Substring(A.SETCNTRLVALUE, 1, 5) ,A.TREE_NAME , A.EFFDT ,A.TREE_BRANCH ,%Substring(A.TREE_NODE, 1, 15) ,B.DESCR ,A.TREE_NODE_NUM , A.TREE_LEVEL_NUM , A.TREE_NODE_NUM_END , A.PARENT_NODE_NUM , A.PARENT_NODE_NAME , A.TREE_NODE_TYPE FROM PSTREENODE A , PS_PROJECT B WHERE A.SETCNTRLVALUE = B.BUSINESS_UNIT AND A.TREE_NODE = B.PROJECT_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | TREE_NAME | Character(18) | VARCHAR2(18) NOT NULL | Tree Name |
3 | TREE_EFFDT | Date(10) | DATE | Effective date of the Tree |
4 | TREE_BRANCH | Character(20) | VARCHAR2(20) NOT NULL | Tree Branch |
5 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | TREE_NODE_NUM | Number(10,0) | DECIMAL(10) NOT NULL | Internal beginning node range number |
8 | TREE_LEVEL_NUM | Number(3,0) | SMALLINT NOT NULL | Parent tree level if this is a part of the PSTREEBRANCH record |
9 | TREE_NODE_NUM_END | Number(10,0) | DECIMAL(10) NOT NULL | Internal ending node range number |
10 | PARENT_NODE_NUM | Number(10,0) | DECIMAL(10) NOT NULL | Parent Node Number |
11 | PARENT_NODE_NAME | Character(20) | VARCHAR2(20) NOT NULL | Name of parent node |
12 | TREE_NODE_TYPE | Character(1) | VARCHAR2(1) NOT NULL | Flag to indicate whether node represents a Group (G) or a Record (R) in a Query Access Group Tree, |