Download as pdf or txt
Download as pdf or txt
You are on page 1of 21

Welcome to the learning unit on ‘Advanced Enquiry Fields and Enquiry Printing’.

This
learning unit teaches you to print an enquiry report from T24.

CUS.Printing Enquiry Output 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.Printing Enquiry Output 2


At the end of the session you will be able to,

1. Explain the printing process in T24

2. Set the applications required for printing an enquiry output

3. Print an Enquiry report in T24

4. Explain the various formats of enquiry output

CUS.Printing Enquiry Output 3


In this section of the learning unit you will learn how to print an enquiry report from
T24.

1. Enquiries can be stored for future reference in various formats. Can you print an
enquiry report from T24?

2. Yes you can print enquiry output. There are two options provided by the enquiry
output – one to print locally and the other to print to server.

3. Before you print the output, you need to set certain applications in T24

4. The applications to be set are ENQUIRY.REPORT , REPORT.CONTROL,


DE.FORM.TYPE and PRINTER.ID

CUS.Printing Enquiry Output 4


1. ENQUIRY is an application in T24. Do you need a hardware to print? PRINTER.ID
is the application where you define valid printers of your system

2. Does your reports have specific formats?


The layout of the enquiry report is designed using the application DE.FORM.TYPE

3. Any report that you print from T24 should have an entry in the application
REPORT.CONTROL

4. ENQUIRY is an application in T24 and Printer is a hardware. Now how will they
communicate with each other?
To do this you will use the application ENQUIRY.REPORT in T24.

CUS.Printing Enquiry Output 5


In order to do the printing process, you need to set up certain applications in T24 as
shown in the diagram,

(1) Assume that you are issuing a request to print an enquiry output.

(2) The initial step is to obtain the id of REPORT.CONTROL from the application
ENQUIRY.REPORT

(3) The layout of the report is specified in the form type. The FORM TYPE is obtained
with the help of REPORT.CONTROL record id.

(4) Now a record in DE.FORM.TYPE has been read to load form settings and to obtain
the printer id.

(5) Next the logical printer id is obtained from PRINTER.ID

(6) Finally the request is spooled to the physical printer and it generates the enquiry
output.

CUS.Printing Enquiry Output 6


The first step is to define the printer.

PRINTER.ID is the application used to define the valid printers on the system. The id
of the record is the logical name for the actual physical printer . The field
PRIME.PRINTER.ID holds the printer name at the OS level.

CUS.Printing Enquiry Output 7


Next you will specify the layout of your reports using form type.

The application DE.FORM.TYPE is used to define the layout of the report. You can
specify the width and depth of each printed form, and also the printer on which it is
produced on. The value in field PRINTER.ID must be a valid entry on the PRINTER.ID
file. Form types of D.SLIP will use this printer to print the reports.

CUS.Printing Enquiry Output 8


Any report printed from your T24 system should have an entry in REPORT.CONTROL
application. This file contains a description of the report, the printer environment
(form), the date and time last produced and spooled. Now you will create a record in
REPORT.CONTROL with FORM.NAME field set to the DE.FORM.TYPE record id
created. The Form Name must be a valid record on DE.FORM.TYPE.

CUS.Printing Enquiry Output 9


ENQUIRY.REPORT is the application which generates a report based on the
parameters defined in the file ENQUIRY. Here you will link an enquiry with a
REPORT.CONTROL record.

ENQUIRY – In the field ENQUIRY you specify a valid enquiry id. The Enquiry record
contains the parameters for building the report.

REPORT.CONTROL – here you specify the id of the REPORT.CONTROL record.

When you use the Print to Server option in the enquiry output, the printing job is done
by using the ENQUIRY.REPORT application .

CUS.Printing Enquiry Output 10


BROWSER.PREFERENCES application defines a user's preferences for the
appearance and behavior of the Browser screens. The Id of this application is the
user's Id. It allows the user to define various parameters such as, which 'skin' the user
would like to run the Browser, thus will determine the 'look and feel' of the Browser
windows.

SKIN NAME - This field determines the 'skin' to be used for Browser screens when the
user logs into T24.
A 'skin' determines the 'look and feel' of the Browser screens in terms of color, font,
graphics, etc. Each Browser installation will be delivered with a number of predefined
skins that can be used. This field defines which skin the user prefers.

PRINT LOCATION – This field determines the destination for any print requests. It can
take any of the following two values (i) Local - use a printer connected to a user's PC
(ii) Server - use a printer connected to the T24 Application Server.

CUS.Printing Enquiry Output 11


When the enquiry report is printed using the print to server option, your report is
spooled in the &HOLD& directory. The id of the enquiry report can be seen here from
the message that you get from T24. You can actually view the record in the &HOLD&
directory by using the JED editor.

CUS.Printing Enquiry Output 12


If enquiry output needs to be printed online, the corresponding ENQUIRY.REPORT
record must be verified. A sample output from the &HOLD& directory is shown here.

CUS.Printing Enquiry Output 13


You know how to save an enquiry output in different formats. You can also print an
enquiry output in different formats. This can be done using the ENQUIRY.REPORT
application.

OUTPUT.FORMAT – There are three options provided by this field – the first one is
the file format, which stores data in the form of rows and columns. The second one is
report format which generates the normal output as you saw before. The last option is
to generate the report in xml format.

[Note: clear file &HOLD& before verifying the record and the list the contents of
&HOLD& to view the xml output]

CUS.Printing Enquiry Output 14


Here you can see the enquiry report spooled in &HOLD& directory in XML format.

CUS.Printing Enquiry Output 15


The output is generated in the file format when the field OUTPUT.FORMAT is set to
report in the ENQUIRY.REPORT record. The enquiry report shown here is displayed
in report format. The default format is Report format.

[Note: clear file &HOLD& before verifying the record and the list the contents of
&HOLD& to view the record with file output]

CUS.Printing Enquiry Output 16


1. True

2. True

3. True

4. False

CUS.Printing Enquiry Output 17


1. Enquiry outputs can be printed in the following formats
1.1 XML
1.2 REPORT
1.3 FILE

2. PRINTER.ID is the application used to define the valid printers on the system

3. The application DE.FORM.TYPE is used to define the layout of the report

4. Any report printed from your T24 system should have an entry in
REPORT.CONTROL application

5. REPORT.CONTROL holds the description of the report, the printer environment


(form), the date and time last produced and spooled

CUS.Printing Enquiry Output 18


1. ENQUIRY.REPORT is the application which generates a report based on the
parameters defined in the file ENQUIRY.

2. When the enquiry report is printed using the print to server option, your report is
spooled in the &HOLD& director

3. You can also print an enquiry output in different formats. This can be done using
the ENQUIRY.REPORT application.

4. If enquiry output needs to be printed online, the corresponding


ENQUIRY.REPORT record must be Verified

CUS.Printing Enquiry Output 19


You have now learnt to print an enquiry report from T24. You will now be able to,

1. Explain the printing process in T24

2. Set the applications required for printing an enquiry output

3. Print an Enquiry report in T24

4. Explain the various formats of enquiry output

CUS.Printing Enquiry Output 20


CUS.Printing Enquiry Output 22

You might also like