PIM_OPP_ASN_VW(SQL View) |
Index Back |
---|---|
Contacts for Opps AssigneeThis view shows all contacts on a user's opportunity |
SELECT DISTINCT L.OPPORTUNITY_ID , L.BUSINESS_UNIT , A.BO_ID_CONTACT , L.PERSON_ID , TA.PERSON_ID_ASSIGNEE , L.BO_ID_CUST , L.ROLE_TYPE_ID_CUST , %subrec(RB_AUDIT_SBR, G) FROM PS_BO_ROLE G , PS_RB_TSK_ASGN TA , PS_RB_TSK_OPPY_VW T , PS_RSF_OPPORTUNITY L , PS_RSF_OPP_CONTACT A WHERE G.ROLE_TYPE_ID = 8 AND A.BO_ID_CONTACT = G.BO_ID AND TA.TASK_ID = T.TASK_ID AND L.OPPORTUNITY_ID = T.OPPORTUNITY_ID AND A.OPPORTUNITY_ID = L.OPPORTUNITY_ID AND T.OPPORTUNITY_ID = A.OPPORTUNITY_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
Default Value: RSF_OPR_DEF_VW.BUSINESS_UNIT Prompt Table: SP_BU_RSF_NONVW |
3 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
4 | PERSON_ID_OWNER | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
5 | PERSON_ID_ASSIGNEE | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
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
Default Value: 2 Prompt Table: RSF_BO_ROLTY_VW |
8 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
9 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
10 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
11 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
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. |
13 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |