How CMS stores and retrieves data
Issue 3.0 May 2002
23
How CMS retrieves data
CMS retrieves data from the database based on three types of information you supply
when you design a custom report:
●
The name of the table
●
The database items in the table
●
The rows of data in the table.
For example, if you want a custom real-time agent report that lists the agents in a split, the
report design might be displayed as shown in the following figure:
Sample 1 Custom report design
Note:
Each series of
v’
s in the illustration represents a report field for which it is
expected that CMS will find multiple values (in this case, values for more
than one agent) and will display the values vertically in a column. The
x’
s
by the
Split:
label represent the fact that only one value (in this case, a
single split’s name or number) is expected for the field.
To tell CMS how to retrieve data, you must tell CMS to access the
cagent
(Current
Interval Agent) table. Then, for each report field, you assign the appropriate database
items. When you run the report, CMS will find, in the
cagent
table, the columns of data
associated with the database items (columns 2, 5, 6, and 7 in the figure above).
Note:
For the report field
Average Talk Time
,
you actually assign a
calculation,
ACDTIME/ACDCALLS
.
Split: xxxxxxxxxx
Current
ACD
ACD
Average
Agent ID:
State
Calls
Time
Talk Time
vvvv
vvvvv
vvv
vvv
vv:vv