RB_ERMS_ECRSP_V

(SQL View)
Index Back

Emails Closed by Agent Resp

Used for ERMS reports.................

SELECT C.TMPLT_CATEGRY_NAME ,0 ,0 ,0 ,0 ,COUNT(*) ,0 ,B.CLOSED_DTTM FROM PS_RI_INTERACTION A , PS_RB_IN_EMAIL B , PS_RBC_TEMPLT_CAT C WHERE B.INTERACTION_ID = A.ROOT_INTER_ID AND A.PARENT_INTER_ID <> ' ' AND B.CLOSED_DTTM IS NOT NULL AND B.TMPLT_CATEGRY_ID = C.TMPLT_CATEGRY_ID GROUP BY C.TMPLT_CATEGRY_NAME,B.CLOSED_DTTM HAVING COUNT(*) < 2

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 TMPLT_CATEGRY_NAME Character(30) VARCHAR2(30) NOT NULL Holds the names of the categories. 01/16/03: Set the Format Type to "Mixedcase", from Uppercase.
2 RB_TOTAL_EMAILS Number(8,0) INTEGER NOT NULL Detail item status
3 RB_CLOSED_AUTO Number(8,0) INTEGER NOT NULL Detail item status
4 KB_THRESHOLD Number(6,2) DECIMAL(5,2) NOT NULL Used to indicate the threshold
5 RC_CASE_COUNT Number(7,0) INTEGER NOT NULL Case Count
6 RB_CLOSED_REP Number(8,0) INTEGER NOT NULL Detail item status
7 RB_CLOSED_MULT_REP Number(8,0) INTEGER NOT NULL Detail item status
8 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.