DimensionDefaultingControllerBase.saveAttributeSet Method [AX 2012]
Writes the dimension attribute set that represents the check boxes or combo boxes that the user has selected.
Syntax
protected RecId saveAttributeSet([RecId _currentValue])
Run On
Called
Parameters
- _currentValue
Type: RecId Extended Data Type
The current value of the attribute set.
Return Value
Type: RecId Extended Data Type
The record ID of a DimensionAttributeSet record that represents the combination of enumerations that the user has selected if at least 1 enumeration is not at the default value; otherwise, 0.
Remarks
The current value of the attribute set should be specified if the user visible data managed by the controller may not have been updated but the underlying data has been updated.
This will allow the logic to return the true current value instead of the value currently being shown to the user.