RSF_PG_CRIT_VW(SQL View) |
Index Back |
---|---|
Territory Product Grp CriteriaA view of all Product Group Criteria for Sales Territory |
SELECT T.TREE_NAME , T.TERRITORY_ID , T.BUSINESS_UNIT , SC.SETID , C.MARKET , T.ASSIGN_GROUP , C.CONFIG_CRITERIA_CD , C.CRITERIA_FIELDNAME , C.CRITERIA_TYPE FROM PS_RSF_TERRITORY T , PS_SET_CNTRL_REC SC , PS_RSF_ASSIGN_CRIT C WHERE SC.SETCNTRLVALUE = T.BUSINESS_UNIT AND SC.RECNAME = 'RSF_ASSIGN_GRP' AND C.SETID = SC.SETID AND C.ASSIGN_GROUP = T.ASSIGN_GROUP AND C.CRITERIA_FIELDNAME = 'PRODUCT_GROUP' |
# | 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 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
4 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
5 | MARKET | Character(3) | VARCHAR2(3) NOT NULL | Market |
6 | ASSIGN_GROUP | Character(30) | VARCHAR2(30) NOT NULL | This field is used to specify assignment group name for Territory assignment. |
7 | CONFIG_CRITERIA_CD | Character(10) | VARCHAR2(10) NOT NULL | Configurable Criteria Code |
8 | CRITERIA_FIELDNAME | Character(18) | VARCHAR2(18) NOT NULL | Key Field |
9 | CRITERIA_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Criteria Type
R=Range S=Single |