RSF_TR_ORG_P_VW(SQL View) |
Index Back |
---|---|
View of All Parent TerritoriesView that shows all Parent Territory Organizations. |
SELECT A.TREE_NAME , B.TREE_NODE , C.DESCR , A.EFFDT FROM %Table(PSTREEDEFN) A , %Table(PSTREENODE) B , %Table(RSF_TERRITORY) C WHERE A.TREE_STRCT_ID = 'TERRITORY_TREE' AND B.SETID = A.SETID AND B.SETCNTRLVALUE = A.SETCNTRLVALUE AND B.EFFDT = A.EFFDT AND B.TREE_NODE <> ' ' AND %EffdtCheck(PSTREEDEFN D, A, %CurrentDateIn) AND B.TREE_NAME = C.TREE_NAME AND B.TREE_NODE = C.TERRITORY_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | TREE_NAME | Character(18) | VARCHAR2(18) NOT NULL | Tree Name |
2 | TERRITORY_PARENT | Character(20) | VARCHAR2(20) NOT NULL | Territory Parent |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |