RSF_TR_LNG_VW2(SQL View) |
Index Back |
---|---|
Related language territoryRelated language view that shows all Parent Territory Organizations. |
SELECT A.TREE_NAME , B.TREE_NODE , D.LANGUAGE_CD , D.DESCR FROM %Table(PSTREEDEFN) A , %Table(PSTREENODE) B , %Table(RSF_TERRITORY) C , %Table(RSF_TERR_LNG) D 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 AND C.TREE_NAME = D.TREE_NAME AND C.TERRITORY_ID = D.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_ID | Character(20) | VARCHAR2(20) NOT NULL | Territory ID |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |