RSF_ACC_TRU_VW

(SQL View)
Index Back

Territory Rollup View

CRM Sales - Territory Rollup View.

SELECT DISTINCT A.TREE_NAME , A.TERRITORY_PARENT , T1.DESCR , A.TERRITORY_ID , T2.DESCR FROM PS_RSF_ACC_TR A ,PS_RSF_TERRITORY T1 , PS_RSF_TERRITORY T2 WHERE T1.TREE_NAME = A.TREE_NAME AND T1.TERRITORY_ID = A.TERRITORY_PARENT AND T2.TREE_NAME = A.TREE_NAME AND T2.TERRITORY_ID = A.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 PARENT_DESCR Character(30) VARCHAR2(30) NOT NULL Parent Asset Description
4 TERRITORY_ID Character(20) VARCHAR2(20) NOT NULL Territory ID
5 DESCR Character(30) VARCHAR2(30) NOT NULL Description