RO_RI_OBJ_VW(SQL View) |
Index Back |
---|---|
View for Interaction HistoryThis is a view to get interactions for the specific sub-interaction type and the matching object ID, e.g. get all interactions for Case 111. It is order capture specific. |
SELECT I.INTERACTION_ID ,I.PARENT_INTER_ID ,I.ROOT_INTER_ID ,I.BO_ID_CONTACT ,S.BO_ID_CUST ,S.BO_ID_SITE ,S.ROLE_TYPE_ID_CNTCT ,S.ROLE_TYPE_ID_CUST ,' ' ,I.RB_MCF_DETAIL_TYPE ,I.INTERACTION_MTHD ,I.INTERACT_BEGIN ,I.INTERACT_END ,I.INTERACT_STATUS ,I.INTERACT_FLOW ,I.CALLBACK_DATE ,S.SEQNUM ,S.SUBINT_OBJ_TYPE ,S.SETID_RI ,S.BUSINESS_UNIT_RI ,S.LEAD_ID ,S.OPPORTUNITY_ID ,S.FULFILLMENT_ID ,S.CASE_ID ,S.EMAILID ,S.SO_ID ,S.RBTACCTID ,S.RBTBILLID ,S.CAPTURE_ID ,S.INST_PROD_ID ,%subrec(RB_AUDIT_SBR, I) ,S.NOTES FROM PS_RI_INTERACTION I , PS_RI_SUB_INTERACT S WHERE I.INTERACTION_ID = S.INTERACTION_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INTERACTION_ID | Character(15) | VARCHAR2(15) NOT NULL |
interaction id
Default Value: NEXT |
2 | PARENT_INTER_ID | Character(15) | VARCHAR2(15) NOT NULL | Parent Interaction ID.................................... |
3 | ROOT_INTER_ID | Character(15) | VARCHAR2(15) NOT NULL | Root Interaction ID....................................... |
4 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
5 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
6 | BO_ID_SITE | Number(31,0) | DECIMAL(31) NOT NULL | Business Object ID |
7 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
8 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
9 | BO_NAME_CONTACT | Character(50) | VARCHAR2(50) NOT NULL | BO_NAME_CONTACT |
10 | RB_MCF_DETAIL_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
MCF Detail Type indicating the Detail component to be associated with an interaction
CHAT=Chat CM=Printer CMEM=Outbound Email IBEM=Inbound Email NONE=Phone OMEM=OLM Outbound Email SMSO=Outbound SMS SS=Self Service SYNC=Synchronized Email |
11 | INTERACTION_MTHD | Character(4) | VARCHAR2(4) NOT NULL |
Interaction Method
BOEM=OLM Broadcast Email ICHT=Inbound Chat IEML=Inbound Email IFAX=Inbound Fax IPHN=Inbound Phone IWEB=Inbound Web OBWL=Outbound Worklist Notification OEML=Outbound Email OFAX=Outbound Fax OPHN=Outbound Phone OPRN=Outbound Print SMSO=Outbound SMS SOEM=OLM Single Email SYNC=Synchronized Email |
12 | INTERACT_BEGIN | DateTime(26) | TIMESTAMP | begin interaction |
13 | INTERACT_END | DateTime(26) | TIMESTAMP | end interaction |
14 | INTERACT_STATUS | Character(4) | VARCHAR2(4) NOT NULL |
interaction status
BUSY=Busy CALL=Callback CHLD=Child Answered CMPL=Completed INPR=In Process NOAN=No Answer NOCL=Do Not Call Again Prompt Table: RI_STATUS_TBL |
15 | INTERACT_FLOW | Character(4) | VARCHAR2(4) NOT NULL |
interaction flow
IN=Inbound OUT=Outbound |
16 | CALLBACK_DATE | DateTime(26) | TIMESTAMP | Call Back Date |
17 | SEQNUM | Number(3,0) | SMALLINT NOT NULL | Sequence Number |
18 | SUBINT_OBJ_TYPE | Character(4) | VARCHAR2(4) NOT NULL | sub-interaction object type |
19 | SETID_RI | Character(5) | VARCHAR2(5) NOT NULL | Interactions Setid |
20 | BUSINESS_UNIT_RI | Character(5) | VARCHAR2(5) NOT NULL | Business Unit Interactions |
21 | LEAD_ID | Character(15) | VARCHAR2(15) NOT NULL | Used by Sales Force Automation, this field uniquely identifies a Sales Lead. |
22 | OPPORTUNITY_ID | Character(15) | VARCHAR2(15) NOT NULL | Opportunity ID |
23 | FULFILLMENT_ID | Character(15) | VARCHAR2(15) NOT NULL | Fulfillment ID |
24 | CASE_ID | Number(15,0) | DECIMAL(15) NOT NULL | Case ID. This is a unique ID assigned to a case when it is saved. Unique ID is ensured by getting the next value from the auto-numbering table and updating the table. |
25 | EMAILID | Character(70) | VARCHAR2(70) NOT NULL | A user's E-mail address |
26 | SO_ID | Character(10) | VARCHAR2(10) NOT NULL | Service Order ID |
27 | RBTACCTID | Character(15) | VARCHAR2(15) NOT NULL | Unique service account indentifier |
28 | RBTBILLID | Character(15) | VARCHAR2(15) NOT NULL | Bill Id |
29 | CAPTURE_ID | Character(20) | VARCHAR2(20) NOT NULL | Field use to store the capture ID in order capture. |
30 | INST_PROD_ID | Character(20) | VARCHAR2(20) NOT NULL | This field is used to represent the installed product ID (key field) |
31 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
32 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
33 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
34 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
35 | 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. |
36 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |
37 | NOTES | Long Character | CLOB | Comments |