SBM AppScript Reference → Programming SBM AppScript → Extension Functions → Ext.PrimaryTableId( applicationPrefixOrId )
Provides the TS_ID of a Primary table for a specific application. For details on the TS_ID, refer to Identifying Records by TS_ID and Table ID.
applicationPrefixOrId
If applicationPrefixOrID is a non-numeric string, it is taken as the application's prefix, such as TTS. Because application prefixes do not need to be unique, the first table with the prefix encountered is returned. If applicationPrefixOrID is numeric, it is taken as the application's TS_ID.
Returns the TS_ID of the Primary table for the specified application.
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.