DimensionAlias::findByName Method
Finds the dimension alias that has the specified name for the current user.
Syntax
client server public static DimensionAlias findByName(
DimensionAliasName _name,
[boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _name
Type: DimensionAliasName Extended Data Type
The name of the DimensionAlias record.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
The concurrency model option to use when the record is read; optional.
Return Value
Type: DimensionAlias Table
A record in the DimensionAlias table that has the specified name; otherwise, an empty record.
Remarks
The alias that is closest to the user is always returned. For example, if the same alias exists at both the user level and the global level, the user-level alias is returned.