Day6 Enquiry
Day6 Enquiry
Day6 Enquiry
OBJECTIVE
2
INTRODUCTION TO ENQUIRY
3
INTRODUCTION
Enquiry is the T24 Utility used to retrieve a data from the system
4
CREATION OF ENQUIRY
5
ENQUIRY Application
This file holds the parameter definitions of the enquiries used by the
enquiry system
6
ENQUIRY APPLICATION
Example 1
Enquiry To display the Working Balance of each Customer
7
OUTPUT
8
Example:
9
SOLUTION
Col Name Actual Value Description
Page size 4,19 Indicates the size of the page. The data gets
displayed from the 4th row till 19th row
File Name ACCOUNT The actual file from where the data is
retrieved.
Fixed WORKING.BAL Any VALID condition can be given here.
Selection ANCE GT 0
Fixed Sort CUSTOMER Since the report is based on Customer we
need to sort the report Customer wise. By
default it is Ascending.
Selection CUSTOMER If there is any restriction on selection of the
Fields records then you can specify it here.
Suppose you want to select only records
whose CUSTOMER No which is greater than
100400 then you have to fill the Op and
Mandatory field.
10
Col Name Actual Value Description
Sel Fld EQ Various operands are available from which
Oper we can select any one.
Required Yes If Yes then the selection field along with the
Sel value has to be given. Otherwise it will give
an error message. This can control
processor time by limiting the size of each
enquiry.
Header @(2,2)LIST OF The format is @(2,2)LIST.... where
CUSTOMER @(C,L)(C=2,L=2) is the screen column and
WITH line position and LIST.. is the text to be
WORKING displayed.
11
Design and equiry to display Acc.no and name of the customers
Solution
12
Actual Value Description
13
Design an enquiry which displays data as below
Working Balance of each Customer
Cust No. Cus Name Acct No. Work Balance
14
Col Name Actual Value Description
Field Name Account.Number This is the name of the field. (Variable Name)
Operation ACCOUNT.NUMBER This is the actual field in the table or file.
Column 37 The value will be displayed from column 37
Length Mask 16R The length of the field is 16 and right justified
Field Name Working.Balance This is the name of the field. (Variable Name)
Operation WORKING.BALANCE This is the actual field in the table or file.
Column 50 The value will be displayed from column 50
Length Mask 19R2 The length of the field is 19 and right justified
and two decimal place.
With the above detail the columns will be created and even the data will also get displayed.
Now we need to get the total for each Customer. Since the report is based on Customer
there should be break on each Customer. The steps needed for creating a break for a
particular field are.
To define the variable for the break field Actual field name for the break has to be specified
The total for that break field and The label for that break field
15
Col Name Actual Value Description
16
Col Name Actual Value Description
17
Col Name Actual Value Description
18
Col Name Actual Value Description
19
20
21
22
23
OUTPUT
24
ENQUIRY DESIGNER
25
SCREEN DESIGNER Example
26
GRAPHICAL USER DESIGNER
27
ENQUIRY ATTRIBUTES
28
DRILL DOWN ENQUIRY
By double clicking on the link you can start up a lower level enquiry,
drilling down to further analyse data
29
Example
Design a Drill down enquire which displays Data as below
30
Solution
31
32
33
34
35
SUMMARY
36