Activity Codes
The activity codes offer the following possibilities:
- to render active or inactive the elements in the dictionary (example: tables, index, tabs, screen sections or fields...). For example, the fact of setting an activity code as active or not gives the possibility to deactivate, in the screens, certain optional fields.
- to affect the sizing of fields in the tables.
- to make the sizing of fields and screen section open to parameterization.
- identify the elements developed for the standard localizations : these elements are identifies by an activity code starting with K.
- identify the elements developed as custom and vertical. When the activity code starts with X, Y or Z, the element is considered as non standard and is therefore not affected by a standard patch. To be more precise, a standard has been established from version 5 for the X3 software range :
- The codes starting with X are reserved for the vertical developments
- The codes starting with Y or Z are reserved for the custom developments.
The value of the activity codes is defined in folder management. Only the codes that are not dependent on another code are entered ; the others are deducted. For more detail and in particular to consult the naming rule for the codes see the field help "Dependence"
The changing of the activity code value requires a revalidation of the folder in order taken into account these structural elements.
Prerequisite
Refer to documentation Implementation
Screen management
This parameterization is carried out on a single tab.
Entry screen
The detailed characteristics of the activity code are described here.
Identifier
Activity code (field CODACT) |
Enter up to 5 alpha numeric characters that identify the Activity Code. Be sure to follow the correct naming conventions:
An activity code can be set to Active or Inactive, or can define the number of blocks on a screen. This option, which must be assigned at folder creation, makes it possible to influence the screen layout and possibly the database structure. |
Description (field ZLIBACT) |
Characteristics
Active (field FLACT) |
If this check box is selected, the tables and screens or fields of these tables and screens related to this activity code can be accessed. If this check box is not selected, the screens and tables, or their respective fields, can no longer be accessed and are not displayed. Caution: On operation, any activity code status change requires:
|
Module (field MODULE) |
Select a module for the setup. Use this field to specify if the screen has to be created in the folder database. This is the case when the module linked to the screen is active on the folder. |
Sequence (field RANG) |
Use this field to indicate the order in which the activity codes display in folder management. The activity codes depending on a formula are calculated in ascending order from this number. |
Type (field TYP) |
Use this field to select the type of activity code for the folder management. Select Functional, Sizing, or Localization. |
Minimum size (field DIMFIL) |
Use this field to define a different value to a column compared to the proceeding column. This dimension generally corresponds to the dimension generated in Crystal Reports. Certain table fields can display the number blocks according to an activity code. The number of blocks is often the same for a given field between the table and the screen, but sometimes there is a requirement to hide the field on the screen while keeping the block in the table. This field is only available for Sizing type activity codes. |
Maximum size (field DIMMAX) |
Enter the maximum dimension for variables managed in the process. This field is only available for Sizing type activity codes. |
Screen size (field DIME) |
Use this field to defined the number of dimensions used in the related screens and tables. A table can be limited by a maximum and minimum size. Use the following formula to define the dimension of tables: min(max(MIN,SCREEN),MAX). This field can only be accessed for activity codes of the Sizing type. |
Dependency (field DEP) |
Use this field to indicate the type of dependency for this activity code. The possible values are: None: This activity code does not depend on another activity code. Reverse: The activity code takes the reverse value of the activity code entered in the Activity code field in the Characteristics block. If that activity code is active, the dependent activity code is inactive, and inactive if it is active. Sizing: The activity code is composed of a root followed by a number M (1 to 9) and is associated with an activity code that can take the numeric values 1 to N. The activity code is active if the value of the associated code is greater than or equal to M; if not, it is inactive.
Formula: This is used to calculate the value of an activity code as a function of an entry formula. This calculated expression can include constants, functions, and variables in the form of other activity codes. These activity codes can be the entered codes or previously calculated codes. The order of the calculation of the activity codes depends on the earlier codes defined by the rank. An activity code not acting on a dimension is set to 1 if it is active and 0 if it is inactive.
|
Activity code (field ACTDEP) |
Formula (field ACTFOR) |
Use this field to define the formula for an activity code that depends on a formula. This formula can be:
|
Reports
By default, the following reports are associated with this function :
LISACT : List of activity codes
This can be changed using a different setup.
Specific Buttons
Copy
This button is used to copy the record definition from or to another folder. Block number 1
Block number 2
|