RIM_CMP_OPP_ADD(SQL View) |
Index Back |
---|---|
RIM Companies in OpportunitiesRIM Companies in Opportunities - This view is used for the Dataset Rule to yield all Companies named in Opportunities the User created. |
SELECT DISTINCT OP.BO_ID_CUST , OP.OPPORTUNITY_STATUS , OP.PERSON_ID , MB.PERSON_ID , MG.PERSON_ID_MANAGER , OP.ROW_ADDED_DTTM , OP.ROW_ADDED_OPRID , OP.ROW_LASTMANT_DTTM , OP.ROW_LASTMANT_OPRID , CO.SYNCID , CO.SYNCDTTM FROM PS_RSF_OPPORTUNITY OP , PS_RIM_COMPANY_VW CO , PS_RSF_OPP_SLSREP MB , PS_RSF_ACC_SUSER MG WHERE OP.BO_ID_CUST = CO.BO_ID_CUST AND OP.ROLE_TYPE_ID_CUST <> 9 AND OP.PERSON_ID = MG.PERSON_ID AND OP.OPPORTUNITY_ID = MB.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 | 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 |
3 | PERSON_ID_OWNER | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
4 | PERSON_ID_MBR | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
5 | PERSON_ID_MANAGER | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
6 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
7 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
8 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
9 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
10 | 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. |
11 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |