IT_TREE_LEVEL(SQL View) |
Index Back |
---|
SELECT B.SETID , A.TREE_NAME , A.TREE_LEVEL , A.EFFDT , B.DESCR FROM PSTREELEVEL A , PS_TREE_LEVEL_TBL B WHERE B.SETID = A.SETID AND B.TREE_LEVEL = A.TREE_LEVEL AND B.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_TREE_LEVEL_TBL C WHERE C.SETID = B.SETID AND C.TREE_LEVEL = B.TREE_LEVEL AND C.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 | Character(10) | VARCHAR2(10) NOT NULL | Tree Level Number |
4 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |