RSF_TR_SEC_VW

(SQL View)
Index Back

Territory Tree Branch View

Territory Tree Branch View used in View/Edit Territory Tree.

SELECT DISTINCT E.OPRID ,A.TREE_NAME , A.EFFDT ,A.TREE_BRANCH FROM PSTREEPROMPT A ,PSTREEDEFN B , PS_RSF_TR_NEW_TREE C , PS_RSF_TR_TEAM_VW D ,PSOPRALIAS E WHERE A.SETID = B.SETID AND A.SETCNTRLVALUE = B.SETCNTRLVALUE AND A.TREE_NAME = B.TREE_NAME AND A.EFFDT = B.EFFDT AND B.TREE_STRCT_ID = 'TERRITORY_TREE' AND C.TREE_NAME = A.TREE_NAME AND D.TREE_NAME = A.TREE_NAME AND E.OPRALIASTYPE = 'PER' AND D.PERSON_ID = E.PERSON_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
3 EFFDT Date(10) DATE Effective Date
4 TREE_BRANCH Character(20) VARCHAR2(20) NOT NULL Tree Branch