Share via


EcoResAttribute::findOrCreateAttribute Method

Finds or creates the attribute for the given name, reference record ID of the EcoResAttributeType table, and attribute modifier type.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          client server public static RefRecId findOrCreateAttribute(
            Name _name, 
            RefRecId _attributeType, 
           [EcoResAttributeModifier modifier])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static RefRecId findOrCreateAttribute(
            Name _name, 
            RefRecId _attributeType, 
           [EcoResAttributeModifier modifier])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static RefRecId findOrCreateAttribute(Name _name, RefRecId _attributeType)

Run On

Called

Parameters

Return Value

Type: RefRecId Extended Data Type
The record of the EcoResAttribute table.

See Also

Reference

EcoResAttribute Table