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
- _instanceRecId
Type: RefRecId Extended Data Type
The RefRecId value for an EcoResInstanceValue record.
- _attributeRecId
Type: RefRecId Extended Data Type
The RefRecId value for an EcoResAttribute record.
- _attributeGroupAttribute
Type: EcoResAttributeGroupAttribute Table
Return Value
Type: EcoResAttributeValue Table
The RefRecId value of the requested EcoResAttributeValue record.