You are on page 1of 19

Welcome to the learning unit on ‘Enquiry Display Options’.

This learning unit teaches


you to manipulate the enquiry output.

CUS.Enquiry Display Options 1


The conventions used in this learning unit are,

1. Applications in T24 are represented in BOLD UPPERCASE letters.

2. The fields in the applications are mentioned in UPPERCASE letters.

3. This learning unit is example based. First an example output will be shown then
you will be taught the steps to create the Version. At the end of each section a
workshop is given to test your level of understanding.

CUS.Enquiry Display Options 2


At the end of the session

1. You will know to use the other fields in your Enquiry application

2. You can show the enquiry output in various formats

3. You will be able to analyse the importance of auto-refresh option of enquiry

4. You will know how to use conversion routines in an Enquiry

CUS.Enquiry Display Options 3


The given task helps you to understand the purpose of SINGLE.MULTI field in
Enquiry.

In this section you will modify the value in the field SINGLE.MULTI and analyze the
enquiry output.

1. Create an enquiry based on the CURRENCY application

2. Display the following fields - CURRENCY, CURRENCY.MARKET,


MID.REVAL.RATE and SELL.RATE

3. The fields CURRENCY.MARKET, MID.REVAL.RATE and SELL.RATE are multi-


value fields.

4. In the enquiry modify the value set in SINGLE.MULTI field for these three fields
and analyze the output.

CUS.Enquiry Display Options 4


When you create the enquiry, the value in the field SINGLE.MULTI is defaulted by
T24. Now here in this enquiry the fields CURRENCY.MARKET, MID.REVAL.RATE
and SELL.RATE are multi-value fields. Hence the value in SINGLE.MULTI is
defaulted to M.

CUS.Enquiry Display Options 5


1. You can see the enquiry output here. You can also see how the multi-value fields
are displayed.

2. Now when the value in the field SINGLE.MULTI is set to ‘S’ , you could see how
the multi-value fields are suppressed.

CUS.Enquiry Display Options 6


The stated task teaches you how to hide toolbars and column headers in the enquiry
report.

This task explores the use of the NO.TOOLBAR and ALLDATA attributes in the
enquiry application

1. Amend the previously created Enquiry record

2. Hide the tool bar in your enquiry report

3. The enquiry output should not display the column headers

CUS.Enquiry Display Options 7


In this task you will learn to hide the toolbars in the enquiry report. To hide the toolbars
in your enquiry report use the ATTRIBUTES field in the enquiry,

ATTRIBUTES- This is a multi-value field. Before you hide the tool bar in your enquiry
output you need to retrieve all the loan account records for display. So choose the
option as ALL.DATA. ALLDATA ensures that all the data that satisfies the selection
criteria are extracted and displayed in one go.

ATTRIBUTES – In the next multi-value field specify the option as NO.TOOLBAR

ATTRIBUTES – To hide the column headers choose the NO.COLUMN.HEADER in


the next last multi-valued ATTRIBUTES field.

Launch the enquiry and see the output.

CUS.Enquiry Display Options 8


You could see that the toolbars are hidden and there are no column headers displayed
in the enquiry report. The enquiry output page displays all the loan account records
that matched the condition specified in the enquiry.

CUS.Enquiry Display Options 9


This task teaches you about the auto-refreshing option in enquiries.

1. Modify the existing %USER enquiry to auto-refresh itself every X seconds

2. Is this possible with enquiries ?


Yes, lets see how

CUS.Enquiry Display Options 10


There is nothing special to set at the enquiry level. When you execute an enquiry, the
dynamic selection criteria box appears. This screen contains all the ‘Selection Fields’
mentioned in the enquiry record or all the fields mentioned in the Standard Selection
record of the application that the enquiry is based on.

When you click on the more options link in the dynamic selection criteria box it will
display the other available options. Use the field called refresh every seconds . Here
you can specify the number of seconds within which the enquiry output will be auto-
refreshed.

CUS.Enquiry Display Options 11


When you execute the enquiry you can use the toggle timer button to auto-refresh the
enquiry output. The count-down timer can be stopped or started or you may also reset
the time at runtime.

CUS.Enquiry Display Options 12


1. Create a zero-auth version for the CURRENCY application with the following
fields – CCY.NAME, INTEREST.DAY.BASIS,CURRENCY.MARKET,
DEFAULT.SPREAD, MID.REVAL.RATE, BUY.RATE, SELL.RATE and
NEGOTIABLE.AMT

2. Design an enquiry for the CURRENCY application with given information


2.1 Display the header for the enquiry report as “Latest Exchange Rates”

2.2 The fields to be part of your enquiry are CURRENCY.CODE, CCY.NAME,


CURRENCY.MARKET, BUY.RATE and SELL.RATE

2.3 For the field CURRENCY.MARKET display the value of the


DESCRIPTION field from the CURRENCY. MARKET application.

3. The enquiry report should be auto-refreshed to display the recent updated values.
For example, whenever you modify the value of the field SELL.RATE for any
currency, the enquiry report should show the latest value.

CUS.Enquiry Display Options 13


Do you know how an Enquiry is executed in T24?

1. The user executes the built-in customer enquiry in T24.

2. First the fixed selection is executed and the set of ID’s that satisfy that criteria are
short-listed

3. The dynamic selection is then executed and the id’s from the pervious stage are
further filtered

4. These id’s are then processed one by one and the results are displayed to the
user

5. Each record is actually read from the application before its displayed, a common
variable R.RECORD is populated with values that are read. R.RECORD<500> is
a dynamic array defined in I_ENQUIRY.COMMON

CUS.Enquiry Display Options 14


Create an enquiry that will list the LD contract numbers, and their respective loan
amounts and Account officer of the contract.

[Note – LD.LOANS.AND.DEPOSITS only stores the Account officer ID. To display the
officer name, do a look up on the DEPT.ACCT.OFFICER table]

The first step is to create an ENQUIRY record with all the required fields in the output
and attach a conversion routine in the field CONVERSION for a field whose value has
to be manipulated before display. The routine name should be prefixed with ‘@ ‘ in this
field (@<space>Routine name). In the conversion routine, extract the account officer
ID for the current record being processed, from the common variable R.RECORD.

CUS.Enquiry Display Options 15


1. True

2. True

4. False

5. False

CUS.Enquiry Display Options 16


1. When SINGLE.MULTI field is set to “M” or “S” all multi-value/sub-value fields are
taken to be associated and aligned accordingly on the screen

2. ATTRIBUTES field can be set to


2.1 NO.TOOLBAR
2.2 ALLDATA
2.3 NO.COLUMN.HEADER

3. The fixed selection of the enquiry is executed first followed by the dynamic selection

4. R.RECORD<500> is a dynamic array defined in I_ENQUIRY.COMMON

CUS.Enquiry Display Options 17


1. You have now learnt about some of the important fields in the ENQUIRY
application

2. You ca use the other fields in your Enquiry application

3. You can show the enquiry output in various formats

4. You will be able to analyse the importance of auto-refresh option of the enquiry

CUS.Enquiry Display Options 18


CUS.Enquiry Display Options 19

You might also like