+ All Categories
Home > Documents > 50715904-ENQUIRY

50715904-ENQUIRY

Date post: 02-Apr-2018
Category:
Upload: godwin-ofoe
View: 216 times
Download: 0 times
Share this document with a friend

of 37

Transcript
  • 7/27/2019 50715904-ENQUIRY

    1/37

    Click to edit Master text styles

    Second level

    Third level

    ENQUIRY

  • 7/27/2019 50715904-ENQUIRY

    2/37

    2

    OBJECTIVE

    Objectives of the course are to

    Introduce the Enquiry application to generate reports

    Creation of enquiry through Designer

    Usage of Enquiry Wizard

    Drill down Enquiries

  • 7/27/2019 50715904-ENQUIRY

    3/37

    3

    COURSE AGENDA

    BREAK

    SESSION III

    Drill Down Enquiries

    SESSION I

    Introduction to Enquiry

    ENQUIRY application

    SESSION II

    Enquiry Designer

    Enquiry Wizard

    SESSION IV

    Work shop

    Review and Summary

  • 7/27/2019 50715904-ENQUIRY

    4/37

    4

    INTRODUCTION TO ENQUIRY

  • 7/27/2019 50715904-ENQUIRY

    5/37

    5

    INTRODUCTION

    Enquiry is the T24 Utility used to retrieve a data from the system

    This application allows to specify report parameters without usingprograms.

    Subroutines can also be attached to achieve more functionality andto create complex enquiry.

    Enquiries may be used to produce reports online, or from the end ofday.

  • 7/27/2019 50715904-ENQUIRY

    6/37

    6

    ENQUIRY AND REPGEN

    ENQUIRY

    The data is been retrieved on the Live System.

    The actual picture of what is happening on a day to day basis will bereflected in the Live System up to date

    REPGEN

    Report Generator takes the data and stores it in another file.

    The data when viewed will remain the same unless specificallyrefreshed and is mainly used for overnight reports.

  • 7/27/2019 50715904-ENQUIRY

    7/377

    CREATION OF ENQUIRY

    Enquiry can be designed in three ways.

    ENQUIRY

    ENQUIRY DESIGNER

    ENQUIRY WIZARD

    Enquiry Designer and Enquiry Wizard Creates a record on theENQUIRY table.

    Once created the processing of the resultant ENQUIRY is identical

  • 7/27/2019 50715904-ENQUIRY

    8/378

    ENQUIRY

  • 7/27/2019 50715904-ENQUIRY

    9/379

    ENQUIRY APPLICATION

    This file holds the parameter definitions of the enquiries used by theenquiry system

    Allows to define an on-line enquiry without any codingrequirements.

    Parameters specifies the file to be listed, the fields to be displayedand where, the formats and conversions to be applied prior todisplay and the break points (if any) to be used.

    Parameters can also define internally calculated data, totals/sub-

    totals, decision processing, user routines and finally a link to a lowerlevel enquiry.

  • 7/27/2019 50715904-ENQUIRY

    10/3710

    SAMPLE OF ENQUIRY APPLICATION

  • 7/27/2019 50715904-ENQUIRY

    11/3711

    Example:

    Enquiry to calculate the Working Balance of each Customer

    File Name Account

    Fields Used Customer No, Name, Account Number, WorkingBalance.

    Condition Working Balance should be greater than zero.

  • 7/27/2019 50715904-ENQUIRY

    12/3712

    OUTPUT

    Working Balance of each Customer

    Cust No. Cus Name Acct No. Work Balance

    111111

    111111111111

    XXXXXXXXXXXX

    XXXXXXXXXXXXXXXXXXXXXXXXXXX

    23456

    3456745678

    1000.00

    2500.003500.00_______7000.00

    222222222222

    YYYYYYYYYYYYYYYYYYYYYYYYYY

    5678978965

    3623.005623.00-----------9246.00

  • 7/27/2019 50715904-ENQUIRY

    13/37

    13

    SOLUTION

    Col Name Actual Value Description

    Page size 4,19 Indicates the size of the page. The data getsdisplayed from the 4th row till 19th row

    File Name ACCOUNT The actual file from where the data is

    retrieved.Fixed Selection WORKING.BALANCE

    GT 0Any VALID condition can be given here.

    Fixed Sort CUSTOMER Since the report is based on Customer weneed to sort the report Customer wise. Bydefault it is Ascending.

    Selection Fields CUSTOMER If there is any restriction on selection of therecords then you can specify it here.Suppose you want to select only recordswhose CUSTOMER No which is greater than100400 then you have to fill the Op andMandatory field.

  • 7/27/2019 50715904-ENQUIRY

    14/37

    14

    Contd

    Col Name Actual Value Description

    Sel Fld Oper EQ Various operands are available from which wecan select any one.

    Required Sel Yes IfYes then the selection field along with thevalue has to be given. Otherwise it will give anerror message. This can control processor time

    by limiting the size of each enquiry.

    Header @(15,1)Working Balance ofEach Customer

    Since the data gets printed from 4th row rest ofthe row 1-3 can be considered for headingslike Report Heading and Col Heading.

    15 Column, 1 Row

    The heading will be displayed in 15th column

    and 1st row.

    Header @(3,3) Cust No.

    @(16,3)Cust Name

    @(42,3)Acc No.

    @(56,3)Work Balance

    The Column heading is displayed here3,16,42,56 are the starting position of eachheadings.

  • 7/27/2019 50715904-ENQUIRY

    15/37

    15

    Contd

    Col Name Actual Value Description

    Field Name CUSTNO This is the name of the field. (VariableName)

    Operation CUSTOMER This is the actual field in the table or file.

    Column 2 The value will be displayed from column2

    Length Mask 10R The length of the field is 10 and rightjustified

    Field Lbl Customer No. We can specify the col heading here. Butthis heading will be displayed only if it isa Grid Enquiry. By default theAttribute will be Grid.

  • 7/27/2019 50715904-ENQUIRY

    16/37

    16

    Contd

    Col Name Actual Value Description

    Field Name Custname This is the name of the field. (VariableName)

    Operation CUSTOMER This is the actual field in the table or file.

    Column 17 The value will be displayed from column17.

    Length Mask 10L The length of the field is 10 and leftjustified

    Conversion LINK CUSTOMER,2 Actual File or table we are using here isAccount. In account file only theCustomer Id will be stored. When youwant to get the Name of the customerthen you have to LINKto the Customerfile and specify the actual field no. inwhich it is stored or the field name.

  • 7/27/2019 50715904-ENQUIRY

    17/37

    17

    Contd

    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 weneed to get the total for each Customer. Since the report is based on Customer there should bebreak 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

  • 7/27/2019 50715904-ENQUIRY

    18/37

    18

    Contd

    Col Name Actual Value Description

    Field Name B.Cus Variable Name on which the break is to beapplied

    Operation B C CUSTNO Break Change on Customer. Variable Namefor Customer which is used above should begiven.

    Field Name D.Cus This is also a Variable name.

    Operation F CUSTNO Field Customer.

    Display Break B.Cus The break field has to be specified

    Field Name Cus.Total This is also a Variable name.

    Operation TOTAL Working.Balance Customer wise total will be displayed

    Column 50,+1 The column where the grand total for eachcustomer will be displayed. +1 is to indicatethat the total should come in the next line.

    Mask 19R2 The length of the field is 19 and right justifiedand two decimal place.

    Display Break B.Cus The break field has to be specified

  • 7/27/2019 50715904-ENQUIRY

    19/37

    19

    Contd

    Col Name Actual Value Description

    Field Name C.Total This is also a Variable name.

    Operation Total WorkBalance The label for the total of each customer has tobe specified here.

    Column 45,+1 The column from where the label has to bedisplayed is specified here. +1 is to indicatethat the label also should come in the next line.

    Display Break B.Cus The break field has to be specified

    Field Name Line This is also a Variable name.

    Operation _______________ To get a line for total

    Column 45,+1 The column from where the line has to bedisplayed is specified here. +1 is to indicatethat the line also should come in the next line.

    Display Break B.Cus The break field has to be specified

  • 7/27/2019 50715904-ENQUIRY

    20/37

    20

    Contd

    Col Name Actual Value Description

    Field Name Lline This is also a Variable name.

    Operation _______________ To get a line for total

    Column 45 The column from where the line has to bedisplayed is specified here.

    Display Break B.Cus The break field has to be specified

    If we want to break the report page wise, (i.e) each customer one page then thefollowing values are to be given in these fields

    Field Name Custno This is the name of the field. (Variable Name)

    Operation CUSTOMER This is the actual field in the table or file.

    Field Name B.Cus Variable Name on which the break is to beapplied

    Operation B C CUSTNO Break Change on Customer. The variable Namefor Customer has to be specified here.

    Column P Since the report is page-wise we have to givePhere.

  • 7/27/2019 50715904-ENQUIRY

    21/37

    21

    Contd

    Col Name Actual Value Description

    Field Name B.Cus Variable Name on which the break is to beapplied

    Operation B C CUSTNO Break Change on Customer. The variable Namefor Customer has to be specified here.

    Column P Since the report is page-wise we have to givePhere.

    Field Name D.Cus This is also a Variable name.

    Operation F CUSTNO Field Customer.

    Column 13,2 The column where the Customer Number hasto be displayed has to be given here rather

    then giving in column. 13th col and 2nd row

    Display Break B.Cus The break field has to be specified

    Section Header Header indicates that the Customer No. shouldbe printed in header.

  • 7/27/2019 50715904-ENQUIRY

    22/37

  • 7/27/2019 50715904-ENQUIRY

    23/37

    23

    Contd

    Output of the Enquiry

  • 7/27/2019 50715904-ENQUIRY

    24/37

    24

    ENQUIRY DESIGNER

  • 7/27/2019 50715904-ENQUIRY

    25/37

    25

    SAMPLE OF SCREEN DESIGNER

  • 7/27/2019 50715904-ENQUIRY

    26/37

    26

    GRAPHICAL USER DESIGNER

    From Tools Menu Select Enquiry Designer

    Enter Name of the Enquiry

    Enter the name of the file in the field FileName from which the datais to retrieved.

    This will display the list of fields for the corresponding file.

    Select the tab Data Columns

  • 7/27/2019 50715904-ENQUIRY

    27/37

    27

    GRAPHICAL USER DESIGNER

    Start to define field name , Columns etc

    Use Multi value to define more fields

    After definting press F5 to committ.

    Now view the output of Enquiry

  • 7/27/2019 50715904-ENQUIRY

    28/37

    28

    ENQUIRY ATTRIBUTES

    An enquiry is defaulted as a GRID enquiry, to show a selection ofdata

    To change, use either the Advanced tab in Enquiry Designer, thenAttributes or Field 52 on the Full View.

    Examples include

    PAGE - to change to a page layout

    ALLDATA- to always extract all data that matches the criteria

  • 7/27/2019 50715904-ENQUIRY

    29/37

    29

    DRILL DOWN ENQUIRY

    Data displayed in one Enquiry can be used as the selection criteriafor another enquiry e.g. if you run ACCT.BAL.TODAY, you can selecta specific account.

    If in your enquiry you have data equivalent e.g. Account number, it

    can be used to launch another enquiry and auto-select the specificdata.

    By double clicking on that data you can start up a lower levelenquiry, drilling down to further analyse data

    Field 36 to 39 allows to define Drill down Enquiry

  • 7/27/2019 50715904-ENQUIRY

    30/37

    30

    DRILL DOWN ENQUIRY

  • 7/27/2019 50715904-ENQUIRY

    31/37

    31

    ENQUIRY WIZARD

  • 7/27/2019 50715904-ENQUIRY

    32/37

    32

    ENQUIRY WIZARD

    Helps you create simple list style enquiries

    Creates a record on the ENQUIRY table, and once created theprocessing of the resultant ENQUIRY is identical.

    We can create only new Enquiries.

    For Modifications, we can use Designer or Enquiry application.

    Wizard lets you create the ENQUIRY in easy steps by asking you todefine:

    File on which the ENQUIRY is to be based.

    Name for the ENQUIRY.

    Fields to be displayed.

    title of the ENQUIRY (optional).

  • 7/27/2019 50715904-ENQUIRY

    33/37

    33

    STEPS

    From the Tools Menu Select Enquiry Wizard

    Click Next and specify the File name

  • 7/27/2019 50715904-ENQUIRY

    34/37

    34

    STEPS

    Specify Name of the Enquiry and click Next

    Select the fields and Add

  • 7/27/2019 50715904-ENQUIRY

    35/37

    35

    STEPS

    After adding the fields required click Next

    Set the indicator Launch my Enquiry and click Next

  • 7/27/2019 50715904-ENQUIRY

    36/37

    36

    SUMMARY

    You should now understand how to

    Create, format and edit of enquires

    Getting data from another application

    Drilldown Design a enquiry through Enquiry Designer

    Design a enquiry through Enquiry Wizard

  • 7/27/2019 50715904-ENQUIRY

    37/37

    2006 Thesys Technologies. All rights reserved.


Recommended