RIT_INTERACT_VW(SQL View) |
Index Back |
---|---|
Interaction viewInteraction view used in 360-degree view |
SELECT A.BO_ID_CUST ,CASE WHEN A.ROLE_TYPE_ID_CUST = 42 THEN 2 WHEN A.ROLE_TYPE_ID_CUST = 46 THEN 9 ELSE A.ROLE_TYPE_ID_CUST END ,A.BO_ID_CONTACT ,A.ROLE_TYPE_ID_CNTCT ,A.BO_ID_SITE ,A.INTERACTION_ID ,A.INTERACT_BEGIN ,to_char(A.INTERACT_BEGIN ,'YYYY-MM-DD-HH24.MI.SS') ,A.INTERACT_STATUS ,B.DESCR_SHORT ,A.INTERACTION_MTHD ,D.XLATLONGNAME ,A.RB_MCF_DETAIL_TYPE ,A.SETID_CUSTOMER ,A.BUSINESS_UNIT ,A.INTERACT_END ,A.INTERACT_FLOW ,A.CALLBACK_DATE , ' ' ,0 ,0 ,0 ,0 ,%subrec(RB_AUDIT_SBR, A) FROM PS_RI_INTERACTION A LEFT OUTER JOIN PSXLATITEM D ON D.FIELDVALUE = A.INTERACTION_MTHD AND D.FIELDNAME = 'INTERACTION_MTHD' AND D.EFF_STATUS = 'A' AND D.EFFDT <= %CurrentDateIn , PS_RI_STATUS_TBL B WHERE B.RB_MCF_STATUS = A.INTERACT_STATUS AND B.RB_MCF_DETAIL_TYPE = A.RB_MCF_DETAIL_TYPE |
# | 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 | INTERACTION_ID | Character(15) | VARCHAR2(15) NOT NULL | interaction id |
7 | INTERACT_BEGIN | DateTime(26) | TIMESTAMP | begin interaction |
8 | INTERACT_BEGIN_CH | Character(20) | VARCHAR2(20) NOT NULL | Interaction Start date & time |
9 | 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 |
10 | DESCR_SHORT | Character(30) | VARCHAR2(30) NOT NULL | Description Short |
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 | DESCR50 | Character(50) | VARCHAR2(50) NOT NULL | Description of length 50 |
13 | 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 |
14 | SETID_CUSTOMER | Character(5) | VARCHAR2(5) NOT NULL | Customer SetID |
15 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_FS_NONVW |
16 | INTERACT_END | DateTime(26) | TIMESTAMP | end interaction |
17 | INTERACT_FLOW | Character(4) | VARCHAR2(4) NOT NULL |
interaction flow
IN=Inbound OUT=Outbound |
18 | CALLBACK_DATE | DateTime(26) | TIMESTAMP | Call Back Date |
19 | DATE_CRITERIA | Character(4) | VARCHAR2(4) NOT NULL |
Date Criteria
A=7 - View All D0=1 - Today D1=2 - Yesterday D15=4 - Last 2 Weeks D17=3 - Last Week D30=5 - Last Month Y1=6 - Last Year |
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 |