SDB_IB_EMAIL_VW

(SQL View)
Index Back

Inbound Email View

Inbound Email View for Contact Center Dashboard

SELECT A.MCF_EMAIL_ID , A.BUSINESS_UNIT , A.EMAIL_STATUS , A.RB_DETAIL_STATUS , A.PROCESS_STATE , A.TMPLT_CATEGRY_ID , A.TMPLT_TYPE_ID , 'I' , 'CRM' , A.INTERACTION_ID , C.ROOT_INTER_ID , CASE WHEN A.BO_ID_CUST = 0 THEN A.BO_ID_CONTACT ELSE A.BO_ID_CUST END , CASE WHEN A.ROLE_TYPE_ID_CUST = 0 THEN A.ROLE_TYPE_ID_CNTCT ELSE A.ROLE_TYPE_ID_CUST END , A.PRODUCT_ID , A.PRODUCT_GROUP , A.LAST_GROUP_WL , A.ASSIGNED_TO , A.ASSIGNED_DTTM , A.CURRENT_WL , A.MB_DUE_DTTM , A.MB_WARN_DTTM , A.MOOD_ID , A.PRIORITY_NBR , A.LANGUAGE_CD , A.SLA_EXT_BASE_DTTM , A.CLOSED_DTTM , A.MAILBOX_ID , ' ' , ' ' , A.ROW_ADDED_DTTM , A.ROW_LASTMANT_DTTM , B.PRODUCT_SETID , B.SETID_PROD_GRP , A.MCF_WL_SUBJECT , ' ' FROM PS_RB_IN_EMAIL A , PS_RBD_BUSET B , PS_RI_INTERACTION C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.INTERACTION_ID = C.INTERACTION_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 MCF_EMAIL_ID Number(16,0) DECIMAL(16) NOT NULL Email Id
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 EMAIL_STATUS Character(4) VARCHAR2(4) NOT NULL ERMS Inbound Email Status
4 RB_DETAIL_STATUS Character(3) VARCHAR2(3) NOT NULL Detail item status
AUT=Closed - Auto Response
CAN=Closed - Canceled
DUP=Closed - Duplicate
OPN=Open
REP=Closed - Response
5 PROCESS_STATE Character(4) VARCHAR2(4) NOT NULL Process State for AE Processing
AUTO=Auto Responded by System
CREA=Email Instance Created
FORW=Mailbox Forwarding
PIMS=Synched Email
QUED=Queued for Routing
ROUT=Email Routed
6 TMPLT_CATEGRY_ID Number(6,0) INTEGER NOT NULL Template Category ID
7 TMPLT_TYPE_ID Number(6,0) INTEGER NOT NULL Template Type ID
8 IB_OB_INDICATOR Character(1) VARCHAR2(1) NOT NULL Inbound or Outbound Emal Indicator. This is used in ERMS Section in Contact Center Dashboard.
9 SYSTEM_ID Character(5) VARCHAR2(5) NOT NULL System ID
10 INTERACTION_ID Character(15) VARCHAR2(15) NOT NULL interaction id
11 ROOT_INTER_ID Character(15) VARCHAR2(15) NOT NULL Root Interaction ID.......................................
12 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
13 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
14 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
15 PRODUCT_GROUP Character(10) VARCHAR2(10) NOT NULL PRoduct Group
16 LAST_GROUP_WL Character(30) VARCHAR2(30) NOT NULL Last/Current Group-level Worklist
17 ASSIGNED_TO Character(15) VARCHAR2(15) NOT NULL This is a field to store assignment information.
18 ASSIGNED_DTTM DateTime(26) TIMESTAMP Assigned To Date/Time
19 CURRENT_WL Character(30) VARCHAR2(30) NOT NULL Current Worklist Value
20 MB_DUE_DTTM DateTime(26) TIMESTAMP Mailbox level (or external) due date/time
21 MB_WARN_DTTM DateTime(26) TIMESTAMP Mailbox-level (or external) early warning date/time
22 MOOD_ID Number(6,0) INTEGER NOT NULL Mood
23 PRIORITY_NBR Number(3,0) SMALLINT NOT NULL Priority
24 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
25 SLA_EXT_BASE_DTTM DateTime(26) TIMESTAMP External Service Level Agreement Base Date/time
26 CLOSED_DTTM DateTime(26) TIMESTAMP Date Time stamp for when the case status category was changed to closed.
27 MAILBOX_ID Character(30) VARCHAR2(30) NOT NULL Mail Box Id is an Id associated with Mail Boxes
28 EMAIL_TRANSFER_IND Character(1) VARCHAR2(1) NOT NULL Email Transferred Indicator. This is used in Inbound Email View of Contact Center Dash board.
29 EMAIL_REASSIGN_IND Character(1) VARCHAR2(1) NOT NULL Email Reassigned Indicator. This is used in Inbound Email View for Contact Center Dash Board.
30 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
31 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
32 PRODUCT_SETID Character(5) VARCHAR2(5) NOT NULL This is the field for Dashboard setid recname.
33 SETID_PROD_GRP Character(5) VARCHAR2(5) NOT NULL Product Group setid field
34 SUBJECT Character(254) VARCHAR2(254) NOT NULL Subject
35 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID