Share via


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.

Syntax

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

Run On

Called

Parameters

  • _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.

Exceptions

Exception Condition
Error

A valid data source and field ID was not specified.

Remarks

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.

See Also

Reference

DimensionDefaultingControllerBase Class