RB_CHAT_HNDLE_V

(SQL View)
Index Back

ERMS CHAT HANDLED

Common ERMS chat REPORT..................

SELECT DISTINCT M.MCF_CHAT_ID , Q.RB_CHAT_QUEUE , 0 , 1 , 0 , 0 , 0 , M.OPRID , O.PERSON_ID , M.DTTM_STAMP , A.DTTM_STAMP FROM PS_MCFCHATLOG M , PS_MCFCHATLOG A , PSOPRALIAS O , PS_RB_CHAT_DETAIL Q WHERE M.OPRID = O.OPRID AND A.MCF_CHAT_ACTION = 'End' AND A.MCF_CHAT_ID = M.MCF_CHAT_ID AND M.MCF_CHAT_ACTION = 'Accept' AND A.DTTM_STAMP <> M.DTTM_STAMP AND M.MCF_CHAT_ID = Q.MCF_CHAT_ID AND A.DTTM_STAMP = ( SELECT MAX(X.DTTM_STAMP) FROM PS_MCFCHATLOG X WHERE X.MCF_CHAT_ACTION = 'End' AND X.MCF_CHAT_ID=A.MCF_CHAT_ID) GROUP BY M.MCF_CHAT_ID, Q.RB_CHAT_QUEUE, M.OPRID, O.PERSON_ID, M.DTTM_STAMP, A.DTTM_STAMP

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 MCF_CHAT_ID Number(15,0) DECIMAL(15) NOT NULL MCF InitChat ID
2 QUEUE_NAME Character(30) VARCHAR2(30) NOT NULL Queue Name
3 TOTAL_QUEUED Number(8,0) INTEGER NOT NULL Queued Emails on the MCF Queue server
4 CHAT_HANDLED Number(8,0) INTEGER NOT NULL Chat Handled
5 CHAT_ABANDON Number(8,0) INTEGER NOT NULL Chat Abandon
6 CHAT_TRANSFER Number(8,0) INTEGER NOT NULL Chat Transfer
7 BUDDY_INVITE Number(8,0) INTEGER NOT NULL Buddy's invited to chat
8 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
9 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
10 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
11 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.