Avaya Call Management System Custom Reports page 70

Table of Contents

Advertisement

Defining the data for a custom report
Calculations
A calculation is a combination of database items and arithmetic operators. You can also
include constants in a calculation.
The arithmetic operators are:
Some examples of calculations are:
dsplit.ACDCALLS/dsplit.ACDTIME
hagent.AUXOUTTIME+hagent.ACWOUTTIME
100*((cagent.I_ACDTIME+cagent.I_ACWTIME)/
cagent.I_STAFFTIME)
Arithmetic operations are generally performed in order from left to right. However,
multiplication and division operations are performed before addition and subtraction
operations, unless the addition or subtraction operations are enclosed in parentheses.
Operations in parentheses are always performed first. If more than one set of parentheses
is used, the operation in the set farthest to the left is performed first. If one set of
parentheses is inside of another set, the operation of the inner set is performed first.
Calculation names
A calculation name is a name that can substitute for the actual calculation. The calculation
name can be a standard name (used in standard reports) or a name you define. You
cannot append a table name to a calculation name. Therefore, you must specify a table
name in the Table for calculations field.
Note:
A calculation name normally reflects the purpose of the calculation. As a result, entering a
name is an easier, more meaningful way to define data for a report field. More importantly,
if you use a calculation name in many custom reports and later decide to change the
calculation, you can simply make your changes once in the Dictionary subsystem. CMS
then applies those changes to every report that uses the calculation name.
70 Avaya CMS Custom Reports
CMS differentiates between uppercase and lowercase letters in calculation
names. Therefore, be sure you enter the wanted calculation name exactly
as it is displayed in the Dictionary subsystem.
+
add
-
subtract
*
multiply
/
divide
()
perform first

Advertisement

Table of Contents
loading

Table of Contents