You are on page 1of 8

Auto ID Generation

Date Of Issue Version Changes By Reviewed


By

Jan 2005 1.0 Initial Alagammai Sara Cleur


Palaniappan
1.1 Added screen Sara Cleur
shots and other
changes

Information in this document is subject to change without notice.

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

Temenos Training Publications Page 2 of 8 December 2004


T2ITT – R05 – 1.0
Auto ID Generation

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.

Temenos Training Publications Page 3 of 8 December 2004


T2ITT – R05 – 1.0
Auto ID Generation

• Type <ApplicationName> I F3 in the command line


• Type <ApplicationName,VersionName> I F3 in the command line

Setting up T24 for Auto ID generation


For a T24 application to support auto id generation, the application should have an entry in the field
‘PGM.AUTO.ID’ in the Company record.
Apart from this, the application should also have an entry in the AUTO.ID.START application.
Let us understand these applications in detail now.

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.

Temenos Training Publications Page 4 of 8 December 2004


T2ITT – R05 – 1.0
Auto ID Generation

Auto ID Start Application


An entry in the ‘AUTO.ID.START’ application is mandatory for all applications that support auto id
generation. It is in this application that we mention the start number for auto id generation.
ID : <Application Name>

Working Of Auto ID Generation


Let us open a new customer record and understand the working of auto id generation in T24.

Temenos Training Publications Page 5 of 8 December 2004


T2ITT – R05 – 1.0
Auto ID Generation

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.

Temenos Training Publications Page 6 of 8 December 2004


T2ITT – R05 – 1.0
Auto ID Generation

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.

Note the customer id now. The ID is the last generated ID + 1.


Now, let us look at the record in the LOCKING application

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

Temenos Training Publications Page 7 of 8 December 2004


T2ITT – R05 – 1.0
Auto ID Generation

• The last generated ID is obtained from LOCKING


• Incremented by 1
• Write the new ID to LOCKING
• Assign the new ID to the user.

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.

Temenos Training Publications Page 8 of 8 December 2004


T2ITT – R05 – 1.0

You might also like