Setup > Destinations > Destinations by user 

When a user launches a report, the assignment rules are used to define the destination proposed by default. These rules can be more or less global, but they can be highly defined, going up to the level of detail constituted by the triplet (report code, user code plus supplementary code).

The destinations table   by user defines the finer rules of default destination assignment. The rules defined for a user can be used by other users (in effect, a user can be considered as a template user from the point of view of report assignment : a user code serving to define the default destinations exists to this end in the user record (User destinations section).

Prerequisite

SEEREFERTTO Refer to documentation Implementation

Screen management

Entry screen

Presentation

The entry of destinations by the user is carried out on a single tab. Firstly the user code is entered, then in the grid, the reports for which a specific assignment rule exists are entered.

This grid contains the following information :

* The report code, as it is defined in the report dictionary (the description is displayed next to it).

* supplementary field. This uppercase alphanumeric field which can be empty, will be compared, in the assignment algorithm of the destinations, to a value calculated from the call context, defined by a formula defined for the report in its dictionary (Supplementary formula section). It can, for example, contain the site code where the print is carried out, if this information can be deduced from the context or the release parameters of the report.

*  the destination code to be used.

* an indicator (Yes/No) is used to define if the destination in this way defined is mandatory. If this is not the case, the user has the facility to change its value at the release the report.

Close

 

Fields

The following fields are present on this tab :

Block number 1

Define the user for which the assignments have been defined. It is for both the user identified by this code and all users for which the field User destination makes reference to this code.

Table

It defines the report code to be printed.

  • Add. info. (field CMP)

This field will be compared to the formula defined in the report in the printer allocation algorithm at the time of printing.

Example : If in report X, an addition has been defined with the value "BY" corresponding to printer Y and the formula in report X contains the expression "PARAM(site)", then at the time of printing the report if the "site" parameter is equal to BY, the printer will be

set to Y.

Indicate the destination code to be proposed by default during the printing of the report.

  • Mandatory (field OBL)

This is used to define if the destination is mandatory.

If the destination is mandatory, the user will not be able to modify it at the time of launching the report.

Close

 

Error messages

The only error messages are the generic ones.

Tables used

SEEREFERTTO Refer to documentation Implementation