GL_K_TREELVL_VW(SQL View) |
Index Back |
---|---|
Prompt View for Tree Level |
SELECT DISTINCT L.SETID , L.TREE_NAME , L.EFFDT , D.DESCR , L.TREE_LEVEL_NUM FROM PSTREELEVEL L , PS_TREE_LEVEL_TBL D WHERE D.TREE_LEVEL = L.TREE_LEVEL AND D.SETID = L.SETID AND D.EFFDT = ( SELECT MAX(EFFDT) FROM PS_TREE_LEVEL_TBL WHERE SETID = D.SETID AND TREE_LEVEL = D.TREE_LEVEL AND EFFDT <= L.EFFDT) |
# | 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 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | TREE_LEVEL_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Tree Level Description |
5 | TREE_LEVEL_NUM | Number(3,0) | SMALLINT NOT NULL | Parent tree level if this is a part of the PSTREEBRANCH record |