RB_EM_THREDS_VW(SQL View) |
Index Back |
---|---|
Email ThreadsUsed for ERMS Reports. This will display a list of email threads. |
SELECT A.INTERACTION_ID , A.ROOT_INTER_ID , A.PARENT_INTER_ID , B.MAILBOX_ID , A.ROW_ADDED_DTTM , A.RB_MCF_DETAIL_TYPE , A.INTERACT_STATUS , A.ROW_ADDED_OPRID , C.OPRALIASVALUE FROM PS_RI_INTERACTION A , PS_RB_IN_EMAIL B , PSOPRALIAS C WHERE A.INTERACTION_ID = A.ROOT_INTER_ID AND A.RB_MCF_DETAIL_TYPE = 'IBEM' AND A.INTERACTION_ID = B.INTERACTION_ID AND A.ROW_ADDED_OPRID = C.OPRID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INTERACTION_ID | Character(15) | VARCHAR2(15) NOT NULL | interaction id |
2 | ROOT_INTER_ID | Character(15) | VARCHAR2(15) NOT NULL | Root Interaction ID....................................... |
3 | PARENT_INTER_ID | Character(15) | VARCHAR2(15) NOT NULL | Parent Interaction ID.................................... |
4 | MAILBOX_ID | Character(30) | VARCHAR2(30) NOT NULL | Mail Box Id is an Id associated with Mail Boxes |
5 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
6 | 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 |
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 |
8 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
9 | OPRALIASVALUE | Character(30) | VARCHAR2(30) NOT NULL | User ID Attribute Value |