SDB_SUBINTER_VW

(SQL View)
Index Back

Sub Interactions View

Used to load Sub Interactions information to contact center dashboard.

SELECT A.INTERACTION_ID , A.SEQNUM , A.BUSINESS_UNIT_RI , B.RB_MCF_DETAIL_TYPE , ' ' , ' ' , CASE WHEN B.RB_MCF_DETAIL_TYPE = 'CMEM' THEN 'IP' WHEN B.RB_MCF_DETAIL_TYPE = 'SS' THEN 'CMPL' ELSE A.INTERACT_STATUS END , %DateTimeNull , %DateTimeNull , A.BO_ID_CUST , A.ROLE_TYPE_ID_CUST , ' ' , A.SUBINT_OBJ_TYPE , A.INTERACT_BEGIN , A.INTERACT_END , A.CASE_ID , A.CAPTURE_ID , A.OPPORTUNITY_ID , A.LEAD_ID , A.ROW_ADDED_DTTM FROM PS_RI_SUB_INTERACT A , PS_RI_INTERACTION B WHERE A.INTERACTION_ID = B.INTERACTION_ID AND A.SUBINT_OBJ_TYPE IN ('CASE', 'LEAD', 'OPPY', 'ORDR', 'QUOT')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 INTERACTION_ID Character(15) VARCHAR2(15) NOT NULL interaction id
2 SEQNUM Number(3,0) SMALLINT NOT NULL Sequence Number
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_FS_NONVW

4 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

Default Value: NONE

5 PARENT_INTER_ID Character(15) VARCHAR2(15) NOT NULL Parent Interaction ID....................................
6 ROOT_INTER_ID Character(15) VARCHAR2(15) NOT NULL Root Interaction ID.......................................
7 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

8 INTERACT_BEGIN DateTime(26) TIMESTAMP begin interaction
9 INTERACT_END DateTime(26) TIMESTAMP end interaction
10 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
11 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
12 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
13 SUBINT_OBJ_TYPE Character(4) VARCHAR2(4) NOT NULL sub-interaction object type
14 SUB_INTERACT_BEGIN DateTime(26) TIMESTAMP begin sub interaction
15 SUB_INTERACT_END DateTime(26) TIMESTAMP end sub interaction
16 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.
17 CAPTURE_ID Character(20) VARCHAR2(20) NOT NULL Field use to store the capture ID in order capture.
18 OPPORTUNITY_ID Character(15) VARCHAR2(15) NOT NULL Opportunity ID
19 LEAD_ID Character(15) VARCHAR2(15) NOT NULL Used by Sales Force Automation, this field uniquely identifies a Sales Lead.
20 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.