Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Syntax
client server public static EcoResValue createDefaultAttributeValue(
RecId _instanceValueRecId,
EcoResAttribute _attribute,
[EcoResAttributeGroupAttribute _attributeGroupAttribute,
boolean _forUpdate])
Run On
Called
Parameters
- _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.
Return Value
Type: EcoResValue Table
The attribute value.