DimensionDefaultingControllerBase.setValue Method [AX 2012]
Sets the natural key string and, optionally, the record ID of a DimensionAttributeValue record for the specified DimensionAttribute record.
protected void setValue(
ErrorTolerance _errorTolerance,
int _dimAttrIndex,
DimensionAttributeValue _dimAttrValue,
str _valueStr,
str _nameStr)
Run On
CalledParameters
- _errorTolerance
- Type: ErrorTolerance Enumeration
Indicates the level of error tolerance: the Accept, Warning, or Error enumeration values.
- _dimAttrIndex
- Type: int
The control index of the specified DimensionAttribute record for which to set the value.
- _dimAttrValue
- Type: DimensionAttributeValue Table
The DimensionAttributeValue record that contains the entity instance and the record ID to set.
- _valueStr
- Type: str
The natural key of the value to set.
- _nameStr
- Type: str
The name that is associated with the natural key of the value.
Community Additions
ADD
Show: