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. As a matter of fact, a user can be considered as template user for the report allocation: a user code serving to define the default destinations exists to this end in the user record (User destinations section).
Prerequisites
Refer to documentation Implementation
Screen management
Entry screen
The entry of destinations by the user is carried out on a single tab. Firstly the user code is entered.
In each grid line there is a rule used to allocate a destination to a report which is mandatory or not, potentially depending on a field named Complement which can be evaluated with the report setups.
Block number 1
User (field USR) |
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. |
Report (field RPTCOD) |
It defines the report code to be printed. |
Additional information (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. |
Destination (field PRT) |
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. |