SBM ModScript Reference → Programming SBM ModScript → Extension Functions → Ext.PrimaryTableId()
Provides the TS_ID of a primary table for a specific application.
Parameter | Type | Description |
---|---|---|
applicationPrefixOrId |
Variant |
If applicationPrefixOrID is a non-numeric string, it is taken as the application's prefix, such as TTT. 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. |
Type | Description |
---|---|
int |
Returns the TS_ID of the primary table for the specified application. |
SBM ModScript version: 11.3.
For details on the TS_ID, refer to Identifying Records by TS_ID and Table ID.
For details on getting a table ID using its database name, refer to Ext.TableId().
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.