AssetRule::assetGroupGlobal2LocalAssetGroupId Method
Finds the specified asset group ID.
Syntax
client server public static AssetGroupId assetGroupGlobal2LocalAssetGroupId(
RefRecId _assetGroupGlobalRecId,
RecId _assetRuleRecId,
LegalEntity _legalEntity)
Run On
Called
Parameters
- _assetGroupGlobalRecId
Type: RefRecId Extended Data Type
The record ID of the AssetGroupGlobal record to find.
- _assetRuleRecId
Type: RecId Extended Data Type
The record ID of the asset rule for which the check is being made.
- _legalEntity
Type: LegalEntity Extended Data Type
The record ID of the applicable legal entity.
Return Value
Type: AssetGroupId Extended Data Type
The asset group ID; otherwise, an empty string.
Exceptions
Exception | Condition |
---|---|
Error | The global asset group is missing on qualifiers or the global asset group has not been mapped to local asset group. |