Development > Script dictionary > Actions > Action parameters 

This function is used to define the parameters used in the actions dictionary. As a function of the context that calls the action, the value of the parameters will be entered in one of the following dictionaries :

 Function : action called from a menu

 Window : action linked to a button at the bottom of the screen or in the menu bar

 Screen : action linked to a field

 Screen (menu contextual to data type) : action linked to a data type

Note
When two actions with an identical parameter are linked to a field, a single value will be requested on the entry of this parameter.

Prerequisite

SEEREFERTTO Refer to documentation Implementation

Screen management

Entry screen

Fields

The following fields are present on this tab :

Grid

Before creating this parameter code, verify that it doesn't exist already under another code in order to avoid redundancies.

  • Description (field ZINTITPAR)

 

  • Parameter type (field TYPPAR)

Indicate the nature of the parameter : char, integer, decimal etc. This information can only be entered during the creation of the parameter, in the parameter dictionary.

Close

 

Reports

By default, the following reports are associated with this function :

 ACTCODPAR : Action parameter codes

This can be changed using a different setup.

Specific Buttons

The following fields are included on the window opened through this button :

Block number 1

  • field OBJET

 

  • field CLES

 

Block number 2

  • From folder (field DOSORG)

Use this field to define the folder from which the record will be copied. The possible syntaxes are described in the Dedicated appendix.

  • All folders (field TOUDOS)

Use this option to copy the record to all the folders defined in the dictionary (ADOSSIER table of the current solution).

  • To folder (field DOSDES)

Use this field to define the folder to which the record will be copied. The possible syntaxes are described in the Dedicated appendix.

Close

This button is used to copy the record definition from or to another folder.

Error messages

The only error messages are the generic ones.

Tables used

SEEREFERTTO Refer to documentation Implementation