TREE_NDLV_LN_VW(SQL View) |
Index Back |
---|---|
Tree Node by Level View - RLR |
SELECT C.SETID , A.TREE_NAME , A.TREE_LEVEL , C.TREE_NODE , A.EFFDT , L.LANGUAGE_CD , L.DESCR FROM PSTREELEVEL A , PSTREENODE B , PS_TREE_NODE_TBL C , PS_TREE_NODE_LANG L WHERE A.SETID = B.SETID AND A.SETID = C.SETID AND A.TREE_NAME = B.TREE_NAME AND A.TREE_LEVEL_NUM = B.TREE_LEVEL_NUM AND A.EFFDT = B.EFFDT AND B.TREE_NODE = C.TREE_NODE AND C.EFF_STATUS = 'A' AND C.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_TREE_NODE_TBL D WHERE D.SETID = C.SETID AND D.TREE_NODE = C.TREE_NODE AND D.EFFDT <= A.EFFDT) AND L.SETID = C.SETID AND L.TREE_NODE = C.TREE_NODE AND L.EFFDT = C.EFFDT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | TREE_NAME_SETID | Character(5) | VARCHAR2(5) NOT NULL | TableSet |
2 | TREE_NAME | Character(18) | VARCHAR2(18) NOT NULL | Tree Name |
3 | TREE_LEVEL | Character(10) | VARCHAR2(10) NOT NULL | Tree Level Number |
4 | TREE_NODE | Character(20) | VARCHAR2(20) NOT NULL | Node name |
5 | EFFDT | Date(10) | DATE | Effective Date |
6 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |