Documentos de Académico
Documentos de Profesional
Documentos de Cultura
CENTRAL-SHOP
REPORTS
This document contains information that is proprietary and confidential to Aldata Solution.
This information is provided for the sole purpose of permitting the recipient to evaluate the
information. In consideration of the receipt of this document, the recipient agrees to treat the
information as confidential and to not reproduce or otherwise disclose this information to any
persons outside the group directly responsible for the evaluation of its contents, without the
prior written consent of Aldata Solution.
Copyright
2007, Aldata Solution. All rights of reproduction reserved.
G.O.L.D. is a registered trademark of Aldata Solution.
All other brand names of products mentioned may be registered trademarks or trademarks of
their respective companies.
FOREWORD
ABOUT G.O.L.D. PRODUCT DOCUMENTATION
Types of manuals
Typographic convention
In order to make Aldata manuals easier to follow, the following typographic convention has been
adopted:
Convention Use
Functions
CHAPTER 1
GENERAL Introduction .............................................................................................8
PRESENTATION Aim of this module .................................................................................8
Access path .........................................................................................8
Managing reports .......................................................................................9
Report management steps ........................................................................9
Some useful parameters ........................................................................ 10
General process .................................................................................. 11
Access rights to the reports .................................................................... 11
CHAPTER 2
MANAGING THE Creating or modifying a directory ................................................................. 13
REPORT STRUCTURE Creating or modifying a sub-directory ........................................................... 15
AND DEFINITION
Defining reports ...................................................................................... 16
CHAPTER 3
DEFINING REPORT Defining the parameters ............................................................................ 19
PARAMETERS Linking queries to parameters ..................................................................... 20
Defining the element order ........................................................................ 22
CHAPTER 4
MANAGING REPORT Launching reports .................................................................................... 24
LAUNCHING AND Displaying the report follow-up ................................................................... 25
FOLLOW-UP
CHAPTER 1
GENERAL PRESENTATION
INTRODUCTION
The Reports module of G.O.L.D. Central Version 5 allows you to manage the different steps
related to the parameterisation, definition and launching of reports.
Access path
In the standard version of G.O.L.D. Central Version 5, the access path is as follows:
Menu > Reports
MANAGING REPORTS
The following diagram describes the different steps to be followed to launch a report:
Report format The various types of report formats used (PDF, HTML etc.) are stored in the entries of general
parameter table 1371.
However, the report format to be displayed by default is defined, by site or network, in the
numeric value 1 of entry 1 of the general parameter table 1372. This value refers to an entry in
the general parameter table 1371.
Synchronous or The reports in G.O.L.D. Central can be launched in synchronous or asynchronous mode.
asynchronous In synchronous mode, G.O.L.D. displays the report directly, in the format defined by the user,
mode when the related process was successful.
In asynchronous mode, the report request is placed in a processing queue and is carried out via
a JMS server. A G.O.L.D. screen (Report follow-up) allows you to check if the report was cor-
rectly generated, then to access a direct link to the file of this report.
The choice of mode can be parameterised, by site or network, in the numeric value 1 of entry
2 of the general parameter table 1372:
if this value is 0, the reports will be managed in synchronous mode
if this value is 1, the reports will be managed in asynchronous mode
Sending of the The sending of the report, in asynchronous mode, to a JMS processing queue can be parameter-
asynchonous ised in the numeric value 1 of entry 1 of the general parameter table 1428:
report to a JMS if this value is equal to 0, the report is not sent to the JMS processing queue
processing queue if this value is equal to 1, the report is sent to the JMS processing queue
Number of The number of reports which can be launched simultaneously by a profile, in synchronous or
simultaneous asynchronous mode, can be parameterised, by site or network, in the numeric value 2 of entry
reports 3 of the general parameter table 1372.
General process
The following diagram illustrates the general process in which a report evolves, from the mod-
ule definition phase, to the launch in synchronous or asynchronous mode:
To access the report launching, the user profile must give complete access to the screens of
G.O.L.D. Central.
The reports launched from the Reports module can be defined for the members of a user pro-
file.
For further information on the definition of access rights to reports by user profile, see the
"Administration" manual, Ref. GB-CEN-UTI-ADM-091.
Presentation This step allows you to create a tree structure to organise the reports. This tree structure rep-
resents the access path which allows you to reach the reports to be launched.
Menu code Mand. Define the menu code, or the directory code. Alphanumeric
Description Mand. Define the report menu description, or the directory Alphanumeric
name.
Parent code Mand. Define the root directory code which you wish to cre- Alphanumeric
ate.
Example You can, for example, create the following directories (one directory per functionality):
These directories correspond to this tree structure in the Report launch screen:
Example You can, for example, create the following sub-directories for the ORD directory (Orders):
DEFINING REPORTS
Presentation This step allows you to define the reports which you wish to use.
Module Mand. Enter a name to identify the report. You can Alphanumeric
directly indicate the real report programme name
to be used.
Menu code Mand. Define the code of the directory or sub-directory Alphanumeric List of values
in which you wish to classify this report screen.
Programme Mand. Select the type of programme to launched: a Alphanumeric List of values
type report programme or executable file.
The programme types are defined in the entries
of the general parameter table 1442. The entries
in this system table cannot be modified.
Report format Opt. Define the desired format. If it has not been ente- Alphanumeric List of values
red, G.O.L.D. will then retrieve the report format
to be displayed, defined in entry 1 in general
parameter table 1372.
If you select "User choice", this means that when
launching the report, you will be requested to
choose, in a window, the format in which you wish
to generate the report.
No. lines/ Opt. When the selected report format corresponds to Numeric
ASCII page the ASCII mode, indicate the number of lines
which can appear on a report page.
If this value is not entered, then G.O.L.D. will
take into account the number of lines per page,
defined in numeric value 1 of entry 4 of the gene-
ral parameter table 1372.
Presentation This step allows you to define, for each report, the parameters used by G.O.L.D. when launching
a report. The parameters to be defined depend on the report to be launched.
A parameter can be hidden (or masked) and will therefore not appear among the parameters to
be entered when launching the report. You can define:
parameters for which you will enter the value in the report screen
parameters for which G.O.L.D. will automatically retrieve the value via an "environment
variable"
Code Mand. Define a code to identify the parameter. Alphanumeric List of values
Data type Mand. Define the data type of the parameter (example: Numeric List of values
number, varchar, date).
Default Opt. Define the value which will be displayed by default Alphanumeric List of values
values in the field corresponding to this parameter in the
report screen.
Hidden Opt. Check this box if the parameter is hidden from the Checkbox
parameter user when launching the report.
The box of the Hide field is thus checked for the
line corresponding to this parameter in the Para-
meter input screen.
Input help Opt. If you wish, indicate extra information on this Alphanumeric
parameter: format, input mode, explanation etc.
Presentation This step allows you to associate SQL queries with the report parameters.
The queries simplify the input of values in the Value field of the corresponding report screen.
The aim of the query can be to:
retrieve the description corresponding to a value
suggest a list of values
Procedure 1. In the Parameter input screen, select the report parameter to which you wish to link a
query.
2. Click on the [Query] button:
-> the Query linked to parameter screen is displayed.
The screen is composed of two tabs:
"Descriptive query" retrieve the description depending on the value you enter
in the Value field of the report screen.
"List of value query" display all the possible values for this parameter in a list of
values.
CAUTION:
This tab is only displayed when the report parameter is
not a hidden parameter.
Note: you can define a descriptive query and a list-of-values query for each parameter. A que-
ry must necessarily be performed on two columns, since the description corresponding to a
value is always retrieved.
Applicative You can use environment variables in order to define the queries.
environment The environment variables are variables which retrieve a value determined by the environment
variables (connection class, connection language, etc.).
Important: the environment variables are always preceded by the sign ":"
Descriptive 1. Click on the "Descriptive query" tab on the Query linked to parameter screen.
queries 2. Define or modify the SQL operator, the SQL prefix and the SQL query in the corresponding
fields.
3. Click on the [Validate] button on the toolbar to save the data.
List-of-value 1. Click on the "List of value query" tab on the Query linked to parameter screen.
queries 2. Define or modify the SQL operator, the SQL prefix and the SQL query in the corresponding
fields.
3. Click on the [Validate] button on the toolbar to save the data.
Once all the defined parameters are displayed in the Parameter order screen (accessible via
the [Element order] button in the Parameter input screen), they can be sorted with the [+]
and [-] buttons to swap two adjacent lines, for example, or by double-clicking on the column
headers to obtain an alphabetical sorting.
LAUNCHING REPORTS
Presentation In order to launch a report, you must follow the access path in the previously-defined tree struc-
ture.
3. Select a report screen in the right part of the screen (for example, PSSTO02P in the screen-
shot above).
4. Click on the [Validate] button on the toolbar:
-> G.O.L.D. displays the corresponding report screen (in our example: Sales stat. report).
5. In the "Mandatory data" and/or "Optional data" tabs (based on whether the report launch
parameter, is mandatory or not, indicated in the Parameter detail screen), enter the val-
ues requested, or modify the values defined in the Value column.
For further information on defining whether the report launch parameter is mandatory is
not, see "Defining the parameters", page 19.
6. Click on the [Validate] button on the toolbar to launch the report:
-> G.O.L.D. launches the corresponding report programme which takes into account the
values you have just entered.
-> G.O.L.D. displays the report.
7. Use the browser functions in order to print or save the report.
Presentation The Report follow-up screen allows you to trace the report execution and execution status.
The user with a super user functional profile can display all the reports.
The user with a non super user functional profile can only search for and display the reports
which he previously executed.
In addition, if the functional profile includes restrictions on one or more sites, then the user
cannot display the reports launched on other sites.
For further information on functional profile management, see the "Administration" manual,
Ref. GB-CEN-UTI-ADM-091.
D Q
Descriptive queries Queries
defining 21 defining descriptive queries 21
defining environment variables 20
defining list-of-value queries 21
E linking to parameters 20
Element order
defining 22
R
Environment variables
defining 20 Report directory
creating or modifying 13
Report sub-directory
F creating or modifying 15
Follow-up Reports
displaying 25 access path 8
access rights 11
creating or modifying a directory 13
L creating or modifying a sub-directory 15
List-of-value queries defining 16
defining 21 defining the element order 22
defining the parameters 19
displaying the follow-up 25
P general process 11
Parameters launching 24
defining 19 linking queries 20
linking queries 20 management steps 9
parameterisation 10
Aldata Solution S.A. G.O.L.D. is a trademark of Aldata Solution S.A.
Aldata Solution S.A. acknowledges the rights of all trademarks cited herein.