CATALOG_NODE(SQL View) |
Index Back |
---|---|
Purchasing Item Catalogs |
SELECT A.SETID , A.TREE_NAME , %Substring(P.TREE_NODE, 1, 18) , %Substring(A.TREE_NODE, 1, 18) , P.TREE_NODE_NUM FROM PSTREEDEFN T , PSTREENODE A , PSTREENODE P WHERE T.TREE_STRCT_ID = 'ITEMS' AND A.TREE_NAME = T.TREE_NAME AND A.TREE_NAME = P.TREE_NAME AND A.PARENT_NODE_NUM = P.TREE_NODE_NUM AND A.EFFDT = ( SELECT MAX(EFFDT) FROM PSTREEDEFN WHERE A.SETID = SETID AND TREE_STRCT_ID = 'ITEMS' AND EFFDT <= %CurrentDateIn AND TREE_NAME = A.TREE_NAME) AND A.SETID = P.SETID |
# | 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 | CATALOG_ID | Character(18) | VARCHAR2(18) NOT NULL | Catalog ID |
4 | CATALOG_SUB_ID | Character(18) | VARCHAR2(18) NOT NULL | Catalog ID |
5 | TREE_NODE_NUM | Number(10,0) | DECIMAL(10) NOT NULL | Internal beginning node range number |