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

  • _isGlobal
    Type: boolean
    A Boolean value that indicates whether the asset rule is a global rule.

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.

See Also

Reference

AssetRule Table