RSFM_OPP_VW

(SQL View)
Index Back

All Opportunities Mobile

This record is used for Data Distribution rule to bring down all Opportunities.

SELECT 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 , 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

# 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 CONTACT_ID Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts

Prompt Table: RSF_CNTCT_BC_VW

15 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

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

Prompt Table: RD_PERSON

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

Prompt Table: RSF_SLSMDL_A_VW

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

Prompt Table: RSF_SALES_STG_V

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

Prompt Table: RSF_SALES_TSK_V

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

Prompt Table: RSF_INDUSTRY_VW

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

Prompt Table: RSF_PRODGRP_VW

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

Prompt Table: RSF_PROD_VW

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

Prompt Table: COUNTRY_TBL

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

Prompt Table: %EDIT_STATE

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

Y/N Table Edit

Default Value: Y

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