PCModelingLibrary::getAttributeModifier Method [AX 2012]
Finds the record in the EcoResComponentControl table that is associated with the provided attribute and that matches the specified modifier type.
server public static EcoResComponentControl getAttributeModifier(
EcoResCategoryAttribute _attribute,
EcoResModifierType _modifierType,
[boolean _forUpdate])
Run On
ServerParameters
- _attribute
- Type: EcoResCategoryAttribute Table
The attribute that contains the modifier.
- _modifierType
- Type: EcoResModifierType Enumeration
The modifier type of the record to find.
- _forUpdate
- Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: EcoResComponentControl TableA record in the EcoResComponentControl table; otherwise, an empty record.
Show: