RetailAttributeHelper::createDefaultAttributeValue Method [AX 2012]
Finds or creates an attribute value for the supplied attribute, with the attribute linked to an entity through the supplied instance table record id.
The optional attribute group parameter is used to determine the default value, if it needs to be created.
client server public static EcoResValue createDefaultAttributeValue(
RecId _instanceValueRecId,
EcoResAttribute _attribute,
[EcoResAttributeGroupAttribute _attributeGroupAttribute,
boolean _forUpdate])
Run On
CalledParameters
- _instanceValueRecId
- Type: RecId Extended Data Type
The records id of the linking table, that links the supplied attribute and some entity, for which the value is being looked up.
- _attribute
- Type: EcoResAttribute Table
The attribute to find or create a value for.
- _attributeGroupAttribute
- Type: EcoResAttributeGroupAttribute Table
Optional. The EcoResAttributeGroupAttribute record to take the default value from, if set.
- _forUpdate
- Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Show: