Loading ...
Loading ...
Loading ...
T24 Application Development
Field Settings
Each field is defined by five settings
1. Field Names and Grouping
2. Field Length
3. Field Type
4. Check file
There are also corresponding variables to define the parameters for the record id. The standard APIs hide
the complexity of these items, but it is important to understand the underlying mechanism that is used in
order to use the full flexibility of the field definitions.
When defining the arrays you must use the incrementing variable, Z, to reference the element of the array.
In this way fields can be added later without having to renumber all the other array assignments.
The variable V is an important common variable used to hold the number of fields in the record and
should be set to Z + 9 for input applications and Z for display only applications (where Z is the last field
defined in the 'F' array). If the standard APIs have been used instead of direct array manipulation, this is
achieved using the Table.setAuditPosition method.
Field Names and Grouping
The F array is a dimensioned array used to define the field name associated with each field and also
specifies whether the field is a single value, multi-valued or sub-valued.
The corresponding variable for the record id is ID.F. The record id must be single valued.
NB the maximum size of the field name is 18 characters, which includes any multi-value definitions.
Single valued fields
Each element of the array is assigned the text string to be used on the screen to label the field. This
can be up to 18 alphanumeric characters and must NOT include spaces. The first two characters
cannot be 'XX' e.g.
ID.F = 'CHARGE.CODE'
F(Z) = 'CHARGE.TYPE'
Multi-valued fields
Any field (except the record id) can be multi-valued. They can be individual multi-valued fields; multi-
valued in association with a language code, or part of a group of fields whose multi-values are always
in association with each other. Individual multi-valued fields are defined by setting their 'F' table
element to 'XX.' followed by the field name, e.g.
F(Z) = ‘XX.NARRATIVE’
Language associated multi-values allow several translations of the value of the field to be held on the
record, the appropriate multi-value being used according to the language code of the user. These are
defined by setting the 'F' table element to 'XX.LL' followed by the field name, e.g.
F(Z) = ‘XX.LL.DESCRIPTION’
Multi Value Associated Fields
Associated groups of multi-values are defined by setting the third character of the 'F' table to '<' for the
first field of the association, '-' for intermediate fields and '>' for the last associated field.
= 'XX<CURRENCY'
= 'XX-CHARGE.RATE'
TEMENOS T24 User Guide Page 8 of 34
Loading ...
Loading ...
Loading ...