PIM_IN_EMAIL_VW

(SQL View)
Index Back

PIM Synched Email view

This view is used filter out PIM Synched emails

SELECT DISTINCT A.MCF_EMAIL_ID , A.ROW_ADDED_OPRID , A.INTERACTION_ID , A.BUSINESS_UNIT , A.BO_ID_CUST , A.ROLE_TYPE_ID_CUST , B.BO_NAME_DISPLAY , B.BO_NAME_AC , A.BO_ID_CONTACT , A.ROLE_TYPE_ID_CNTCT , C.BO_NAME_DISPLAY , A.EMAIL_STATUS , A.PROCESS_STATE , A.STRUCTURED_SW , A.MCF_WL_SUBJECT , A.REPLY_TO_ADDRESS , A.ASSIGNED_TO , A.RB_DETAIL_STATUS , A.EMAIL_STATUS , A.MAILBOX_ID , A.ROW_ADDED_DTTM , A.SLA_EXT_BASE_DTTM , A.MULTI_BO_ID_SW , A.BO_ID_SITE , CASE WHEN D.SEQNUM > 0 THEN 'Y' ELSE 'N' END , A.SYNCID FROM PS_PIM_EMAILS_VW A LEFT OUTER JOIN PS_BO_NAME_PRIM_VW B ON A.BO_ID_CUST = B.BO_ID LEFT OUTER JOIN PS_BO_NAME_PRIM_VW C ON A.BO_ID_CONTACT = C.BO_ID LEFT OUTER JOIN PS_RI_SUB_INTERACT D ON D.INTERACTION_ID = A.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 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
3 INTERACTION_ID Character(15) VARCHAR2(15) NOT NULL interaction id
4 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
5 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
6 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
7 BO_NAME_DISPLAY Character(80) VARCHAR2(80) NOT NULL Full name of the Business Object
8 BO_NAME_AC Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
9 BO_ID_CONTACT Number(31,0) DECIMAL(31) NOT NULL This field indicates the Business Object ID for the contact.
10 ROLE_TYPE_ID_CNTCT Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the contact
11 BO_NAME_DISPLAY_2 Character(80) VARCHAR2(80) NOT NULL Full name of the Business Object
12 RB_MCF_STATUS Character(4) VARCHAR2(4) NOT NULL Interaction status code in multi function

Prompt Table: RB_IBEM_STAT_VW

13 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
14 STRUCTURED_SW Character(1) VARCHAR2(1) NOT NULL Structured/Unstructured Indicator

Y/N Table Edit

15 EMAIL_SUBJECT254 Character(254) VARCHAR2(254) NOT NULL Email Subject
16 REPLY_TO_ADDRESS Character(254) VARCHAR2(254) NOT NULL Email Address associated with the Reply To Person
17 ASSIGNED_TO Character(15) VARCHAR2(15) NOT NULL This is a field to store assignment information.

Prompt Table: RB_WORKER

18 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
19 EMAIL_STATUS Character(4) VARCHAR2(4) NOT NULL ERMS Inbound Email Status

Prompt Table: RB_IBEM_STAT_VW

20 MAILBOX_ID Character(30) VARCHAR2(30) NOT NULL Mail Box Id is an Id associated with Mail Boxes
21 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
22 SLA_EXT_BASE_DTTM DateTime(26) TIMESTAMP External Service Level Agreement Base Date/time
23 MULTI_BO_ID_SW Character(1) VARCHAR2(1) NOT NULL Multiple BO ID....................................

Y/N Table Edit

24 BO_ID_SITE Number(31,0) DECIMAL(31) NOT NULL Business Object ID
25 LINKED Character(1) VARCHAR2(1) NOT NULL Field used to indicate whether an email is linked to sub interactions

Y/N Table Edit

26 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.