RI_OPPSTATLCVW(SQL View) |
Index Back |
---|---|
Opportunity ViewOpportunity view for interaction. |
SELECT A.BO_ID_CUST , A.ROLE_TYPE_ID_CUST , B.BO_ID_CONTACT , '8' , A.BO_ID_SITE , A.OPPORTUNITY_ID , D.LANGUAGE_CD , A.OPPORTUNITY_NAME , A.OPPORTUNITY_STATUS , A.BUSINESS_UNIT , A.CUST_SETID , A.NAME1 , A.PERSON_ID , A.SALES_USER_NAME , A.CONTACT_ID , A.NAME , A.PHONE , D.XLATLONGNAME , O.OPRID , BO_ID_PARTNER , ROLE_TYPE_ID_PART , BO_ID_PART_CONT , ROLE_TYPE_ID_PARTC , %subrec(RB_AUDIT_SBR,a) FROM PS_RSF_OPPORTUNITY a , PS_RSF_OPP_CONTACT B , PSXLATITEMLANG D , PSXLATITEM E ,PS_SEC_BU_CLS F , PSOPRDEFN O WHERE D.FIELDVALUE = A.OPPORTUNITY_STATUS AND D.FIELDNAME = 'OPPORTUNITY_STATUS' AND E.EFF_STATUS = 'A' AND D.EFFDT <= %CurrentDateIn AND D.FIELDNAME = E.FIELDNAME AND D.FIELDVALUE = E.FIELDVALUE AND E.EFFDT <= %CurrentDateIn AND F.OPRCLASS = O.ROWSECCLASS AND F.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.OPPORTUNITY_ID = A.OPPORTUNITY_ID (+) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
2 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
3 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
4 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
5 | BO_ID_SITE | Number(31,0) | DECIMAL(31) NOT NULL | Business Object ID |
6 | OPPORTUNITY_ID | Character(15) | VARCHAR2(15) NOT NULL |
Opportunity ID
Default Value: NEXT |
7 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
8 | OPPORTUNITY_NAME | Character(50) | VARCHAR2(50) NOT NULL | Opportunity Name - User Enters this field in Mixed Case. |
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 Default Value: 0 |
10 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: RSF_OPR_DEF_VW.BUSINESS_UNIT Prompt Table: SP_BU_RSF_NONVW |
11 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
12 | NAME1 | Character(50) | VARCHAR2(50) NOT NULL | Generic 50 character name field for storing names. |
13 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL |
Person ID
Prompt Table: RD_PERSON |
14 | SALES_USER_NAME | Character(50) | VARCHAR2(50) NOT NULL | Sales User Name field |
15 | CONTACT_ID | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
16 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
17 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | This field stores the Telephone number. |
18 | STATUS_DESCR | Character(50) | VARCHAR2(50) NOT NULL | Field used to show the status description. Field used as edit box. |
19 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
20 | BO_ID_PARTNER | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID of Partner Company. |
21 | ROLE_TYPE_ID_PART | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the partner |
22 | BO_ID_PART_CONT | Signed Number(32,0) | DECIMAL(31) NOT NULL | This is the business object identifier for the partner contact. |
23 | ROLE_TYPE_ID_PARTC | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the partner contact |
24 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
25 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
26 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
27 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
28 | 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. |
29 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |