AssetRule::getAssetGroupIdFromQualifier Method
Finds the asset group ID by using the asset rule qualifier record ID.
Syntax
client server public static AssetGroupId getAssetGroupIdFromQualifier(
RefRecId _recId,
boolean _isGlobal,
LegalEntity _legalEntity)
Run On
Called
Parameters
- _recId
Type: RefRecId Extended Data Type
The record ID of the asset rule qualifier record.
- _isGlobal
Type: boolean
A Boolean value that indicates whether the asset rule is a global rule.
- _legalEntity
Type: LegalEntity Extended Data Type
Return Value
Type: AssetGroupId Extended Data Type
The asset group ID if found; otherwise, an empty string.
Exceptions
Exception | Condition |
---|---|
Error | No asset group is defined for the qualifier. |