Defining the data for a custom report
58 Avaya CMS Custom Reports
How a Variable Links the Report Input and Row Search
In the example, the user enters a split number of 1, a date of 07/01/93, and intrahour
intervals from 8:00 a.m. to 11:00 a.m. CMS identifies 1 as the value for variable name
i_split
, 07/01/93 as the value for variable name
i_date
, and 8:00 a.m. to 11:00 a.m.
as the values for variable name
i_time
. CMS then searches the specified database
items (
SPLIT
,
ROW_DATE
, and
STARTTIME
) in the Intrahour Agent (
hagent
) table for
rows that have those values. Finally, CMS extracts data from those rows and displays the
data in the report’s fields.
Enter a field prompt
In the
Prompt
field, enter a name of up to 50 characters to be displayed next to the input
field on the Report Input window. Because you can use blanks, your prompt can be more
than one word.
This name should describe the information (what split/skill, what date, what time, e-mail) a
user must enter in the field when ordering the report. For example, if you want the user to
enter a date, “Date” would be an appropriate prompt. However, if the user can enter more
than one date in the field, “Dates” would be more appropriate.
Variable name: i_split
Prompt: Split
Variable name: i_date
Prompt: Date
Variable name: i_time
Prompt: Intervals
Define Input
Windows
Report Input
Windows
Row Search
Window
Row search ID: 1
From tables: hagent___________________________
Select rows where: SPLIT = $i_split and ROW_DATE = $i_date
and STARTTIME = $i_time and ACD = $acd
1
07/01/93
8:00am-11:00am