RSF_PRTL_OPP

(SQL View)
Index Back

Opportunity Header

This is the Opportunity Header table. This table contains one row per opportunity and holds all the key information for this opportunity.

SELECT OPPORTUNITY_ID , OPPORTUNITY_NAME , BO_ID_CUST , NAME1 , NAME , PHONE , EST_CLOSE_DT , EST_REVENUE , CURRENCY_CD , OPPORTUNITY_STATUS , SALES_STAGE , STAGE_PCT_CLOSE , CONFIDENCE_PCT , NEXT_ACTIVITY_DT , EMAIL_ADDR , PREV_REVENUE , PREV_CLOSE_DT , PERSON_ID , ROLE_TYPE_ID_CUST , ROW_ADDED_DTTM FROM PS_RSF_OPPORTUNITY WHERE OPPORTUNITY_STATUS = '0'

# 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 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
4 NAME1 Character(50) VARCHAR2(50) NOT NULL Generic 50 character name field for storing names.
5 NAME Character(50) VARCHAR2(50) NOT NULL Name

Prompt Table: RD_PERSON

6 PHONE Character(24) VARCHAR2(24) NOT NULL This field stores the Telephone number.
7 EST_CLOSE_DT Date(10) DATE Estimated Close Date of an Opportunity
8 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.
9 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL This field stores the Currency Code value.

Default Value: USD

Prompt Table: CURRENCY_CD_TBL

10 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

11 SALES_STAGE Character(24) VARCHAR2(24) NOT NULL Sales Stage Identifier
12 STAGE_PCT_CLOSE Number(3,0) SMALLINT NOT NULL To indicate a % of how much a stage is completed
13 CONFIDENCE_PCT Number(3,0) SMALLINT NOT NULL Confidence Percentage
14 NEXT_ACTIVITY_DT Date(10) DATE Next Activity Date
15 EMAIL_ADDR Character(70) VARCHAR2(70) NOT NULL Email address to store the address of email.
16 PREV_REVENUE Signed Number(28,3) DECIMAL(26,3) NOT NULL Estimated Revenue
17 PREV_CLOSE_DT Date(10) DATE Estimated Close Date of an Opportunity
18 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
19 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
20 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.