RetailAttributeHelper::getSingleAttributeInGroupByType Method [AX 2012]

Looks for an attribute of the specified type within the specified group.

If no or more than one attribute is found with the above criteria, the method returns an empty buffer.

client server public static EcoResAttribute getSingleAttributeInGroupByType(RefRecId _attributeGroupRecId, RefRecId _attributeTypeRecId)

Run On

Called

Parameters

_attributeGroupRecId
Type: RefRecId Extended Data Type
The record id of the attribute group for the attribute beign looked up.
_attributeTypeRecId
Type: RefRecId Extended Data Type
The record id of the attribute type for the attribute beign looked up.

Return Value

Type: EcoResAttribute Table
The attribute of the specified type within the specified group.
Show: