RSF_TERR_NODEV1(SQL View) |
Index Back |
---|---|
Territory PromptTerritory Prompt for New Territory |
SELECT A.TREE_NAME , A.TERRITORY_ID , A.DESCR FROM PS_RSF_TERRITORY A , PSTREENODE B ,PS_RSF_TR_NEW_TREE C WHERE B.EFFDT = ( SELECT MAX(B_ED.EFFDT) FROM PSTREEDEFN B_ED WHERE B.SETID = B_ED.SETID AND B.SETCNTRLVALUE = B_ED.SETCNTRLVALUE AND B.TREE_NAME = B_ED.TREE_NAME AND B_ED.EFFDT <= %CurrentDateIn) AND A.TREE_NAME = C.TREE_NAME AND B.TREE_NAME = A.TREE_NAME AND A.TERRITORY_ID = B.TREE_NODE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | FROM_TREE | Character(18) | VARCHAR2(18) NOT NULL |
Current Tree Name
Prompt Table: RSF_TR_TREE_VW |
2 | FROM_TERRITORY | Character(20) | VARCHAR2(20) NOT NULL | Current Territory |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |