RIM_OPPY_VW

(SQL View)
Index Back

RIM Opportunity view

RIM Opportunity view used to provide Opportunity details to requesting RIM device for a given user.

SELECT O.OPPORTUNITY_ID , O.OPPORTUNITY_NAME , O.BUSINESS_UNIT , O.SALES_PRIORITY , O.BO_ID_CUST , O.NAME1 , O.NAME , O.SALES_USER_NAME , O.OPPORTUNITY_STATUS , O.EST_REVENUE , O.FORECAST_TYPE , O.FORECAST_TOTAL , O.SALES_MODEL , O.SALES_STAGE , O.SALES_TASK , O.ACT_REVENUE , O.ACT_CLOSE_DT , ' ' , %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
2 OPPORTUNITY_NAME Character(50) VARCHAR2(50) NOT NULL Opportunity Name - User Enters this field in Mixed Case.
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 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
5 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
6 NAME1 Character(50) VARCHAR2(50) NOT NULL Generic 50 character name field for storing names.
7 NAME Character(50) VARCHAR2(50) NOT NULL Name
8 SALES_USER_NAME Character(50) VARCHAR2(50) NOT NULL Sales User Name field
9 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
10 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.
11 FORECAST_TYPE Character(10) VARCHAR2(10) NOT NULL Type of forecast, eg 'Open' or 'closed'
12 FORECAST_TOTAL Signed Number(28,3) DECIMAL(26,3) NOT NULL Forecast Total
13 SALES_MODEL Character(18) VARCHAR2(18) NOT NULL Sales Model Id
14 SALES_STAGE Character(24) VARCHAR2(24) NOT NULL Sales Stage Identifier

Prompt Table: RSF_SALES_STG_V

15 SALES_TASK Character(24) VARCHAR2(24) NOT NULL Sales Stage Task Identifier
16 ACT_REVENUE Number(27,3) DECIMAL(26,3) NOT NULL Actual Revenue
17 ACT_CLOSE_DT Date(10) DATE Actual Close Date of an Opportunity
18 RIM_END_DATE Character(60) VARCHAR2(60) NOT NULL This field is used by blackberry application to save Task end date in string format.
19 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
20 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
21 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
22 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
23 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.
24 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time