RSF_OPP_MM_VW(SQL View) |
Index Back |
---|---|
Team Member Manager OppsView of all Opportunities for Team Member Managers |
SELECT DISTINCT O.OPPORTUNITY_ID , O.OPPORTUNITY_NAME , O.OPPORTUNITY_STATUS , O.CUST_SETID , O.BUSINESS_UNIT , O.CUST_ID , O.BO_ID_CUST , O.ROLE_TYPE_ID_CUST , O.BO_ID_CONTACT , O.PROFILE_CM_SEQ , O.REGION_ID , O.TERRITORY_ID , O.PERSON_ID , M.PERSON_ID_MANAGER , S.PERSON_ID , O.CONTACT_ID , O.PHONE_TYPE , O.PHONE , O.NAME , O.SALES_MODEL , O.SALES_STAGE , O.SALES_TASK , O.INDUSTRY_ID , O.EST_REVENUE , O.ACT_REVENUE , O.CONFIDENCE_PCT , O.STAGE_PCT_CLOSE , O.ACT_CLOSE_DT , O.EST_CLOSE_DT , O.LEAD_SOURCE_ID , O.LEAD_ID , O.PRODUCT_GROUP , O.PROD_GRP_SETID , O.PRODUCT_ID , O.PROD_SETID , %subrec(ADDRESS_SBR, O) , %subrec(RB_MARKET_SBR, O) , %subrec(RB_AUDIT_SBR, O) FROM PS_RSF_OPPORTUNITY O , PS_RSF_OPP_SLSREP S , PS_RSF_ACC_MGR_VW M WHERE O.OPPORTUNITY_ID = S.OPPORTUNITY_ID AND S.PERSON_ID = M.PERSON_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 | CUST_SETID | Character(5) | VARCHAR2(5) NOT NULL | Customer Setid |
5 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: RSF_OPR_DEF_VW.BUSINESS_UNIT Prompt Table: SP_BU_RSF_NONVW |
6 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer ID |
7 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
8 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL |
Stores ROLE_TYPE_ID for the customer
Default Value: 2 Prompt Table: RSF_BO_ROLTY_VW |
9 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
10 | PROFILE_CM_SEQ | Number(31,0) | DECIMAL(31) NOT NULL |
The Contact Method Profile ID is a key field that is used to reference the details of a Contact Method in various CM tables.
Prompt Table: RSF_ROLE_ADR_VW |
11 | REGION_ID | Character(15) | VARCHAR2(15) NOT NULL |
This field stores the region id value.
Prompt Table: RSF_REGION_VW |
12 | TERRITORY_ID | Character(20) | VARCHAR2(20) NOT NULL |
Territory ID
Prompt Table: RSF_TERRITORY |
13 | PERSON_ID_OWNER | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
14 | PERSON_ID_MBR_MGR | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
15 | PERSON_ID_MBR | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
16 | CONTACT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Contact Identifier for Treasury Contacts
Prompt Table: RSF_CNTCT_BC_VW |
17 | PHONE_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
phone type field to store value of phone type.
BUSN=Business Phone CAMP=Campus CELL=Cellular Phone DFLT=Default DORM=Dormitory FAX=FAX HOME=Home Phone MAIN=Main OTR=Other PGR1=Pager 1 PGR2=Pager 2 TELX=Telex WORK=Work Default Value: BUSN |
18 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | This field stores the Telephone number. |
19 | NAME | Character(50) | VARCHAR2(50) NOT NULL |
Name
Prompt Table: RD_PERSON |
20 | SALES_MODEL | Character(18) | VARCHAR2(18) NOT NULL |
Sales Model Id
Prompt Table: RSF_SLSMDL_A_VW |
21 | SALES_STAGE | Character(24) | VARCHAR2(24) NOT NULL |
Sales Stage Identifier
Prompt Table: RSF_SALES_STG_V |
22 | SALES_TASK | Character(24) | VARCHAR2(24) NOT NULL |
Sales Stage Task Identifier
Prompt Table: RSF_SALES_TSK_V |
23 | INDUSTRY_ID | Character(30) | VARCHAR2(30) NOT NULL |
Industry ID.
Prompt Table: RSF_INDUSTRY_VW |
24 | 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. |
25 | ACT_REVENUE | Number(27,3) | DECIMAL(26,3) NOT NULL | Actual Revenue |
26 | CONFIDENCE_PCT | Number(3,0) | SMALLINT NOT NULL | Confidence Percentage |
27 | STAGE_PCT_CLOSE | Number(3,0) | SMALLINT NOT NULL | To indicate a % of how much a stage is completed |
28 | ACT_CLOSE_DT | Date(10) | DATE | Actual Close Date of an Opportunity |
29 | EST_CLOSE_DT | Date(10) | DATE | Estimated Close Date of an Opportunity |
30 | LEAD_SOURCE_ID | Character(15) | VARCHAR2(15) NOT NULL | Used by Sales Force Automation to identify the source of a Sales Lead. |
31 | LEAD_ID | Character(15) | VARCHAR2(15) NOT NULL | Used by Sales Force Automation, this field uniquely identifies a Sales Lead. |
32 | PRODUCT_GROUP | Character(10) | VARCHAR2(10) NOT NULL |
PRoduct Group
Prompt Table: RSF_PRODGRP_VW |
33 | PROD_GRP_SETID | Character(5) | VARCHAR2(5) NOT NULL | Product Group SetID |
34 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL |
Product ID
Prompt Table: RSF_PROD_VW |
35 | PROD_SETID | Character(5) | VARCHAR2(5) NOT NULL | Product SET ID |
36 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
37 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
38 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
39 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
40 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
41 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
42 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
43 | NUM2 | Character(4) | VARCHAR2(4) NOT NULL | Number 2 |
44 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat Reference WW=House Trailer Reference |
45 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
46 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
47 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
48 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
49 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: %EDIT_STATE |
50 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
51 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
52 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL |
In City Limit
Y/N Table Edit Default Value: Y |
53 | MARKET | Character(3) | VARCHAR2(3) NOT NULL | Market |
54 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
55 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
56 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
57 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
58 | 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. |
59 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |