Introduction of Version Rotuine:
VERSION is a
standard T24 application, which allows users to create customized screens for
input, authorization, display etc. It may also be used to automate the
replacement of data on records. In fact
T24 comes with many useful VERSION records
for the majority of T24 applications. It is also possible to add local
sub-routines, which can be used for field, input and authorization validation.
These small programs will allow even greater customization of T24 by the user.
There
are three different types of routines that can be attached to a version. Each
one of them is attached at different levels and has a specific functionality.
The three different types of version routines available are:
- Validation Routine
- Input Routine
- Authorization Routine
COMI
Is a
dynamic array defined in I_COMMON that contains the last entered value in any
application/version.
ID.NEW
Dynamic
array that contains the id of the currently opened record. Defined in I_COMMON
file.
R.NEW
It is a
dimensioned array that has been defined in the file I_COMMON. It holds the copy
of the currently opened record in any application in T24. Always use ‘( )’
brackets while referring to variables inside a dimensioned array as opposed to
‘<>” which we use for dynamic arrays. This dimensioned array has been
dimensioned to contain 500 dynamic arrays. The definition for R.NEW in the
I_COMMON file is as follows.
R.NEW(C$SYSDIM) where C$SYSDIM = 500
R.OLD
It is a
dimensioned array that has been defined in the I_COMMON file. It holds a copy of an authorized record
when it is opened for amendment. The definition for R.OLD in the I_COMMON file
is as follows.
R.OLD(C$SYSDIM)
ID.OLD
Is a
dynamic array that holds the id of the record held in R.OLD
R.NEW.LAST
R.NEW.LAST
is a dimensioned array that will hold a copy of an unauthorized record when it
is opened for amendment. The definition for R.NEW.LAST in the I_COMMON file is
as follows.
R.NEW.LAST(C$SYSDIM)
ID.NEW.LAST
Is a
dynamic array that holds the id of the record held in R.NEW.LAST
No comments:
Post a Comment