Activity Codes
The activity codes offer the following possibilities:
- is used 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 setup.
- to identify the elements developed for standard localization: these elements are identifies by an activity code starting with K.
- to identify the elements developed in specific and in vertical When the activity code starts with X, Y or Z, the element is considered as non-standard and can thus not be allocated by a standard patch. To be more precise, a standard was set from the version 5 of X3 softwares:
- Codes starting with X are dedicated to vertical developments
- Codes starting with Y or Z are dedicated to specific developments.
The value of activity codes is defined on folder management. Only the codes that do not depend on another code are entered, the others are deducted. For further detail and particularly to inquire the code name rule, see the field help "dependence".
Guiding rules to modify the value of an activity code.
The procedure:
Go to the parent folder,
- Modify the activity code on the record of the child folder to process via function GESADS.
( do not UNDER ANY CIRCUMSTANCES modify directly the activity code record in the folder to process. As a matter of fact, since the validation relies on the activity code difference between the activity code record and the folder record, there would ne nothing to process.
- Launch the validation of the folder to process. The validation triggers the deletion or creation of the elements subjected to the activity code.
Alternative solution for experienced developers:
For experienced developers who do not wish to use the folder management (validation of folders too long or impossible to carry out on folders that are still used).
For sizing activity codes only. Forbidden for active/inactive codes. As a matter of fact, the deletion or creation of elements depending on whether an activity code is activated or not is fully managed in the folder validation but not in the validation of each dictionary.
Go to the folder to process,
- Modify the activity code directly on the activity code record.
- Validate only the elements subjected to the activity code via the dictionary validation function located in: "Development \ Utilities \ Dictionary \ Validation"
Prerequisites
Refer to documentation Implementation
Screen management
This setup is carried out on a single tab.
Entry screen
These fields describe the characteristics of the activity code.
Identifier
| Activity code (field CODACT) |
|
An activity code can be set to Yes or No, or can define a number of occurrences. This option, which must be assigned at the folder creation, makes it possible to influence the screen structures and possibly the database structure. |
| Description (field ZLIBACT) |
|
This name makes it possible to explain the activity code use. |
Characteristics
Block number 3
Block number 4
Block number 5
| Dependency (field DEP) |
|
When the value is not equal to No, this field is used to indicate that the value of an activity code has not been entered, but is automatically determined as a function of the value of the other activity codes. The possible values are as follows :
|
| Activity code (field ACTDEP) |
| Formula (field ACTFOR) |
|
When the activity code depends on a formula, the formula to be evaluated to obtain the activity code value is defined here. 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
|