RSFM_OPP_MBR_VW

(SQL View)
Index Back

Team Member Opps (Mobile)

Team Member Opps (Mobile). Used by Mobile Sales.

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 , 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 WHERE O.ROLE_TYPE_ID_CUST <> 9 AND O.OPPORTUNITY_ID = S.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 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 Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
15 CONTACT_ID Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts

Prompt Table: RSF_CNTCT_BC_VW

16 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

17 PHONE Character(24) VARCHAR2(24) NOT NULL This field stores the Telephone number.
18 NAME Character(50) VARCHAR2(50) NOT NULL Name

Prompt Table: RD_PERSON

19 SALES_MODEL Character(18) VARCHAR2(18) NOT NULL Sales Model Id

Prompt Table: RSF_SLSMDL_A_VW

20 SALES_STAGE Character(24) VARCHAR2(24) NOT NULL Sales Stage Identifier

Prompt Table: RSF_SALES_STG_V

21 SALES_TASK Character(24) VARCHAR2(24) NOT NULL Sales Stage Task Identifier

Prompt Table: RSF_SALES_TSK_V

22 INDUSTRY_ID Character(30) VARCHAR2(30) NOT NULL Industry ID.

Prompt Table: RSF_INDUSTRY_VW

23 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.
24 ACT_REVENUE Number(27,3) DECIMAL(26,3) NOT NULL Actual Revenue
25 CONFIDENCE_PCT Number(3,0) SMALLINT NOT NULL Confidence Percentage
26 STAGE_PCT_CLOSE Number(3,0) SMALLINT NOT NULL To indicate a % of how much a stage is completed
27 ACT_CLOSE_DT Date(10) DATE Actual Close Date of an Opportunity
28 EST_CLOSE_DT Date(10) DATE Estimated Close Date of an Opportunity
29 LEAD_SOURCE_ID Character(15) VARCHAR2(15) NOT NULL Used by Sales Force Automation to identify the source of a Sales Lead.
30 LEAD_ID Character(15) VARCHAR2(15) NOT NULL Used by Sales Force Automation, this field uniquely identifies a Sales Lead.
31 PRODUCT_GROUP Character(10) VARCHAR2(10) NOT NULL PRoduct Group

Prompt Table: RSF_PRODGRP_VW

32 PROD_GRP_SETID Character(5) VARCHAR2(5) NOT NULL Product Group SetID
33 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID

Prompt Table: RSF_PROD_VW

34 PROD_SETID Character(5) VARCHAR2(5) NOT NULL Product SET ID
35 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

36 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
37 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
38 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
39 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
40 CITY Character(30) VARCHAR2(30) NOT NULL City
41 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
42 NUM2 Character(4) VARCHAR2(4) NOT NULL Number 2
43 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat Reference
WW=House Trailer Reference
44 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
45 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
46 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
47 COUNTY Character(30) VARCHAR2(30) NOT NULL County
48 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: %EDIT_STATE

49 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
50 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
51 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit

Y/N Table Edit

Default Value: Y

52 MARKET Character(3) VARCHAR2(3) NOT NULL Market
53 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
54 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
55 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
56 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
57 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.
58 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time