Loading ...
Loading ...
Loading ...
T24 Application Development
CHECKFILE Array
This array is a dimensioned array that defines file look-ups to be performed when data is input. The
corresponding variable for the id is ID.CHECKFILE. For new applications, the API
Field.setCheckFile should be used, and the information here is for reference to older
applications built before the new APIs were available. As such, DO NOT use the CHECKFILE array
for new applications.
The check file processing will validate the input as having an existing record on the file and will also
retrieve the specified field of that record which is then displayed as enrichment next to the entered field.
The elements of the check file table are a dynamic array that is set up as follows:
Field 1
The application name of the file to be checked, e.g. CUSTOMER.
Field 2
The number of the field to be returned as enrichment or to be used as the id for the next file read. This
MUST be a file name defined in the corresponding file layout for the check file.
Field 3
This field is used to define 4 optional parameters. These are separated by '.' and should be assigned as
follows:
Subfields 1, 2 and 3
Null. These subfields are not used.
Subfield 4
'D' The id is date associated and the record with the most recent date should be used. The
date is in YYYYMMDD format.
'YM' As for 'D' but the date is in YYYYMM format.
null =No date used.
Example
To encourage re-use, check file definitions for tables should be defined in the initialise section of
the .FIELDS and then referenced later.
CHK.ACCOUNT = "ACCOUNT": FM : AC.SHORT.TITLE: FM :"L"
CHECKFILE(Z) = CHK.ACCOUNT
TEMENOS T24 User Guide Page 14 of 34
Loading ...
Loading ...
Loading ...