DimensionDefaultingControllerBase.setDimensionAttributeValue Method [AX 2012]

Sets the record ID and natural key string of a record in the DimensionAttributeValue table for the specified dimension attribute.

public void setDimensionAttributeValue(
    DimensionAttribute _dimensionAttribute, 
    RecId _dimAttrValueRecId, 
    str _value)

Run On

Called

Parameters

_dimensionAttribute
Type: DimensionAttribute Table
The dimension attribute of which to set the value.
_dimAttrValueRecId
Type: RecId Extended Data Type
The record ID of the record in the DimensionAttributeValue table to set.
_value
Type: str
The natural key string associated with the record in the DimensionAttributeValue table.

ExceptionCondition
Error

A valid data source and field ID was not specified.

This method is used as a callback from the lookup form. When a user directly types in a value it will be handled through the related [field]_modified method.

Community Additions

ADD
Show: