RSF_ACC_PGRP_VW

(SQL View)
Index Back

Product Group View

CRM Sales - Product Group View

SELECT DISTINCT A.PERSON_ID , B.PRODUCT_GROUP FROM PS_RSF_TR_TEAM A , PS_RSF_TR_PRODUCT B WHERE A.TREE_NAME = B.TREE_NAME AND A.TERRITORY_ID = B.TERRITORY_ID AND A.EFFDT = B.EFFDT AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_RSF_TR_TEAM C WHERE C.TREE_NAME = A.TREE_NAME AND C.TERRITORY_ID = A.TERRITORY_ID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
2 PRODUCT_GROUP Character(10) VARCHAR2(10) NOT NULL PRoduct Group