RSF_OPP_PROD_VW(SQL View) |
Index Back |
---|---|
Opportunity Product ViewView which supports display of underlying records for Pipeline's product chart. |
SELECT O.OPPORTUNITY_ID , O.OPPORTUNITY_NAME , O.OPPORTUNITY_STATUS , O.BUSINESS_UNIT , O.NAME1 , O.REGION_ID , O.REGIONDESCR , O.TREE_NAME , O.TERRITORY_ID , O.TERRITORYDESCR , O.PERSON_ID , O.SALES_USER_NAME , O.SALES_MODEL , O.SALES_STAGE , O.SALES_PRIORITY , O.INDUSTRY_ID , O.CURRENCY_CD , O.CONFIDENCE_PCT , O.STAGE_PCT_CLOSE , O.EST_REVENUE , O.EST_CLOSE_DT , O.PROD_SETID , P.PRODUCT_GROUP , P.PRODUCT_ID , P.QTY , P.UNIT_OF_MEASURE , P.PRICE_BASE , P.COST , P.REVENUE_TYPE FROM PS_RSF_OPPORTUNITY O , PS_RSF_OPP_PRODUCT P WHERE O.OPPORTUNITY_ID = P.OPPORTUNITY_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPPORTUNITY_ID | Character(15) | VARCHAR2(15) NOT NULL |
Opportunity ID
Default Value: NEXT |
2 | OPPORTUNITY_NAME | Character(50) | VARCHAR2(50) NOT NULL | Opportunity Name - User Enters this field in Mixed Case. |
3 | OPPORTUNITY_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Opportunity Status. The values are XLat Values
0=Open 1=Closed - Lost 2=Closed - Won 3=Inactive Default Value: 0 |
4 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: RSF_OPR_DEF_VW.BUSINESS_UNIT |
5 | NAME1 | Character(50) | VARCHAR2(50) NOT NULL | Generic 50 character name field for storing names. |
6 | REGION_ID | Character(15) | VARCHAR2(15) NOT NULL | This field stores the region id value. |
7 | REGIONDESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
8 | TREE_NAME | Character(18) | VARCHAR2(18) NOT NULL |
Tree Name
Default Value: RSF_OPR_DEF_VW.TREE_NAME |
9 | TERRITORY_ID | Character(20) | VARCHAR2(20) NOT NULL | Territory ID |
10 | TERRITORYDESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
11 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
12 | SALES_USER_NAME | Character(50) | VARCHAR2(50) NOT NULL | Sales User Name field |
13 | SALES_MODEL | Character(18) | VARCHAR2(18) NOT NULL |
Sales Model Id
Prompt Table: RSF_SLSMDL_A_VW |
14 | SALES_STAGE | Character(24) | VARCHAR2(24) NOT NULL |
Sales Stage Identifier
Prompt Table: RSF_SALES_STG_V |
15 | SALES_PRIORITY | Character(3) | VARCHAR2(3) NOT NULL |
Priority of sales lead and opportunity
1=1-One 2=2-Two 3=3-Three 4=4-Four 5=5-Five 6=6-Six 7=7-Seven 8=8-Eight 9=9-Nine Default Value: 5 |
16 | INDUSTRY_ID | Character(30) | VARCHAR2(30) NOT NULL | Industry ID. |
17 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | This field stores the Currency Code value. |
18 | CONFIDENCE_PCT | Number(3,0) | SMALLINT NOT NULL | Confidence Percentage |
19 | STAGE_PCT_CLOSE | Number(3,0) | SMALLINT NOT NULL |
To indicate a % of how much a stage is completed
Default Value: 0 |
20 | EST_REVENUE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | The expected revenue (amount) associated with an Opportunity. This is particularly used for forecasting. |
21 | EST_CLOSE_DT | Date(10) | DATE | Estimated Close Date of an Opportunity |
22 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
23 | PRODUCT_GROUP | Character(10) | VARCHAR2(10) NOT NULL | PRoduct Group |
24 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
25 | QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity |
26 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
CS=Case EA=Each MHR=Muti Hourly PER=Percentage SQF=Square Footage |
27 | PRICE_BASE | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | Net Unit Price (base) |
28 | COST | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Cost |
29 | REVENUE_TYPE | Character(15) | VARCHAR2(15) NOT NULL | This field is used to store revenue type related to a product sales and used within forecasting. |