PIM_EM_OPPY_VW

(SQL View)
Index Back

PIM Email Oppy View

Related transaction for Opportunity for PIM Synched Email

SELECT A.OPPORTUNITY_ID , A.BUSINESS_UNIT , A.CUST_SETID , A.BO_ID_CONTACT , 8 , A.BO_ID_CUST , A.ROLE_TYPE_ID_CUST , B.BO_NAME_DISPLAY , C.BO_NAME_DISPLAY , A.OPPORTUNITY_NAME , A.OPPORTUNITY_STATUS , A.SYNCID FROM %Table(RSF_OPP_CNFG_VW) A LEFT OUTER JOIN %Table(BO_NAME_PRIM_VW) B ON A.BO_ID_CONTACT = B.BO_ID LEFT OUTER JOIN %Table(BO_NAME_PRIM_VW) C ON A.BO_ID_CUST = C.BO_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPPORTUNITY_ID Character(15) VARCHAR2(15) NOT NULL Opportunity ID
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_RSF_NONVW

3 SETID_CUSTOMER Character(5) VARCHAR2(5) NOT NULL Customer SetID
4 BO_ID_CONTACT Number(31,0) DECIMAL(31) NOT NULL This field indicates the Business Object ID for the contact.
5 ROLE_TYPE_ID_CNTCT Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the contact
6 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
7 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
8 CONTACT_NAME80 Character(80) VARCHAR2(80) NOT NULL Contact Name length to match with Business Object name display
9 COMPANY_NAME80 Character(80) VARCHAR2(80) NOT NULL Field is used to display company name in prompt records
10 OPPORTUNITY_NAME Character(50) VARCHAR2(50) NOT NULL Opportunity Name - User Enters this field in Mixed Case.
11 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
12 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.