Defining the data for a custom report
94 Avaya CMS Custom Reports
Basic “Where” clause
A basic clause has the following format: Expression Relational Operator Value
The
Expression
can be a database item or calculation. The
Value
is a whole number.
Relational operators available for a “where” clause are as follows:
Note:
Do not try to enter calculation names. They do not work in the
Select
rows where
field.
Note:
Standard database items consist of upper-case letters only.
As an example of a basic “where” clause, if you are creating a real-time report using data
from the Current Interval Split table and you have defined three report fields for the report:
Split:
(the
SPLIT
database item)
ACD Calls:
(the
ACDCALLS
database item)
Average Talk Time:
(the calculation
ACDTIME/ACDCALLS
)
Your “where” clause might be:
Select rows where: SPLIT = 5
When you run the report, CMS finds the row in the table (see the following figure) for Split
5 and fills in the report fields with data from that row (in bold in the figure).
=
equal to
< > or !=
not equal to
>
greater than
>=
greater than or equal to
<
less than
<=
less than or equal to