Share via


EcoResAttributeValue::findOrCreateDefault Method

Finds or initializes the default EcoResAttributeValue record for the specified EcoResInstanceValue record and EcoResAttribute record.

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 EcoResAttributeValue findOrCreateDefault(
            RefRecId _instanceRecId, 
            RefRecId _attributeRecId, 
           [EcoResAttributeGroupAttribute _attributeGroupAttribute])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static EcoResAttributeValue findOrCreateDefault(
            RefRecId _instanceRecId, 
            RefRecId _attributeRecId, 
           [EcoResAttributeGroupAttribute _attributeGroupAttribute])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static EcoResAttributeValue findOrCreateDefault(RefRecId _instanceRecId, RefRecId _attributeRecId)

Run On

Called

Parameters

Return Value

Type: EcoResAttributeValue Table
The RefRecId value of the requested EcoResAttributeValue record.

See Also

Reference

EcoResAttributeValue Table