Professional Documents
Culture Documents
No part of this document may be reproduced or transmitted in any form or by any means,
electronic or mechanical, for any purpose, without the express written permission of TEMENOS Holdings NV.
Auto ID Generation
Table of Content
Table of Content ...................................................................................................................................... 2
Introduction .............................................................................................................................................. 3
Setting up T24 for Auto ID generation..................................................................................................... 4
COMPANY ........................................................................................................................................... 4
Auto ID Start Application...................................................................................................................... 5
Working Of Auto ID Generation............................................................................................................... 5
Additional Information.............................................................................................................................. 7
Summary ................................................................................................................................................. 8
Introduction
T24 has many applications for various banking requirements. All information input through these
applications are stored in a database for future use. How do we differentiate information from the
various applications? Each record has an identity or an ID that is unique. Imagine if we have to think of
a new ID every time we want to create a new CUSTOMER record in T24. If we had to, there would be
utter chaos since there are always more than one person using T24. To make our life easy, T24
generates these Ids automatically. And a sequence is maintained. We must remember that not all T24
applications have this facility.
You may obtain automatic Ids by
• Typing the application name at the command line followed by the function and then click on
the button
Application that do not have this option, do not have that icon displayed.
COMPANY
Let us consider the Customer application as an example. This T24 application supports automatic ID
generation and hence has an entry in the COMPANY file.
In T24, to open a new customer record, you may obtain it from T24 using any one of the above-
mentioned ways or you may type in a customer id yourself. Which means, the customer application
does enforce auto id generation. You may choose to enforce auto id generation by suffixing the
application name in the ‘PGM.AUTOM.ID’ field with a ‘M’. This ‘M’ signifies that auto id generation is
mandatory and therefore the user cannot input an ID f his choice.
As you can see in the above screen shot, when a request to obtain a new customer ID is sent to T24,
T24 just passes back a string ‘New’ to denote that it is a new record. It is only when a subsequent
request (Pressing enter on a field/Press the Commit/Validate/Hold) button that the actual Id is
generated and displayed.
The ‘Hold’ button was chosen in the above screen shot, see the ID being generated now.
New transaction ID
allocated.
Additional Information
How does T24 allocate automatic IDs? Only the start number is specified in AUTO.ID.START. How
does T24 know what is the last ID generated?
The answer to the above questions is ‘F.LOCKING’.
F.LOCKING is an application in T24. It does not allow input though. Once an entry in PGM.AUTO.ID
field in the Company record is made for an application and an entry in AUTO.ID.START is made for
the application, a record in the ‘LOCKING’ application automatically gets created. The ID of the record
in the LOCKING application is
F<CompanyMnemonic>.<ApplciationName>
See below the record for the CUSTOMER application in the LOCKING application
Note that the value contained in the field ‘Content.1’ is the last generated customer id.
Now, let us input another new customer record and put the record on hold.
So, the logic is, the last generated number will be available in the record in the LOCKING application.
When ever a new ID has to be allocated
It has to be noted that, for all applications, the ID is not a sequential number as in the case of the
Customer application. For instance, for the Account application the ID comprises of a check digit
hence when a new ID is to be assigned, T24 will also execute check digit related routines and then
obtain the new ID.
Summary
• Some applications allow AUTO ID generation
• They must be mentioned in the PGM.AUTOM.ID field in the COMPANY application
• Even though AUTO ID generation is set, the user is allowed to form an ID as long as the
validation rules are satisfied.
• To make AUTO ID generation mandatory, we must suffix the application name with M in the
COMPANY file. (e.g.: CUSTOMER M)
• AUTO.ID.START application is used to mention the first ID to be generated for each
application
• The last ID generated is held in the LOCKING file, so that’s how T24 knows the next ID to
generate.