Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the ID of the configuration key for the field.
Syntax
public ConfigurationKeyId configurationKeyId()
Run On
Called
Return Value
Type: ConfigurationKeyId Extended Data Type
The ID of the configuration key for the field; 0 (zero) if there is no configuration key for the field.
Examples
The following example shows the retrieval of the configuration key ID and the configuration key name for a field.
DictField df;
configurationKeyId cki;
DictConfigurationKey dck;
df = new DictField(tablenum(BankAccountTable), fieldnum(BankAccountTable, CustPaymFeePost));
if (df)
{
cki = df.configurationKeyId();
// print df.helpDefined();
if (0 != cki)
{
dck = new DictConfigurationKey(cki);
if (dck)
print strfmt("The configuration key is %1.", dck.name());
}
else
{
print "No configuration key";
}
}