RSF_TR_POWNER_V

(SQL View)
Index Back

Partner Territory Owner

View of all active partner territories as owner. This is used as a dataset rule for searching for territories.

SELECT A.TREE_NAME , A.TERRITORY_ID , A.DESCR , A.SYNCID , B.PERSON_ID FROM PS_RSF_TR_SRCH A , PS_RSF_TR_TEAMO_VW B , PS_OPR_DEF_TBL_RB C WHERE A.TREE_NAME = B.TREE_NAME AND A.TERRITORY_ID = B.TERRITORY_ID AND A.BO_ID_PARTNER = C.BO_ID_CUST AND C.REL_TYPE_ID IN (46, 47)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name

Prompt Table: RSF_TR_TREE_VW

2 TERRITORY_ID Character(20) VARCHAR2(20) NOT NULL Territory ID
3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
4 SYNCID Number(10,0) DECIMAL(10) NOT NULL The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle.
5 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID