Default Values
When launching a print from an X3 function, it can be interesting to propose default values to the launch setups.
This function is used to store values by default for the print setups as a function of the launch context (identified by a function code). A print means printing a Crystal Reportsreport , launching a request, an SQL query, or an export.
Prerequisite
Refer to documentation Implementation
Screen management
Entry screen
When a record is selected for update, a list of setups with associated values can be found, associated with the function and printing code.
Upon creation of a new record, the setup grid is loaded with the list of setups defined for the chosen print.
In all cases, it is possible to:
- enter the calculated expressions depending on the context in order to assign the setup values.
- delete the setup lines if it is requested that the said setups are not assigned by the function.
- enter the setups in a grid (in order to complete the list of those already entered).
Block number 1
Function (field FONCTION) |
Define the function code corresponding to the context for the launch of the print. |
Print type (field TYPCOD) |
Define the print type used. As a function of this type, it is possible to select the different codes in the following fields. |
field ETAT |
Used to enter the code for a print, that is to say, according to the value entered in the previous field, a Crystal Reportsreport , an import-export template, a request, or a SQL request. |
field DESETA |
Title associated with the previous code. |
Parameter (field PARDES) |
Define the parameter code to be entered. |
First default (field VALDEF1) |
Entered here is the value for the parameter, in the form of a calculated expression that uses the variables linked to the launch context. If the parameter is a start/end range - two values must be entered. |
Last default (field VALDEF2) |
All the setups |
This function is used to select a setup among those which are not in the grid yet in order to be assigned a value. |
All the setups |
This function is used to complete the list of setups associated with a print when it is not complete, which can occur if the print setup list was modified or if the setups had been first deleted. |
Menu Bar
Copy
This button is used to copy the record definition from or to another folder. Block number 1
Block number 2
|