DimensionAttributeValueSetStorage.addItemValues Method [AX 2012]
Adds the specified values to the set.
Syntax
public int addItemValues(
RecId _dimensionAttributeId,
RecId _dimensionAttributeValueId,
HashKey _dimensionAttributeValueHashKey)
Run On
Called
Parameters
- _dimensionAttributeId
Type: RecId Extended Data Type
The dimension attribute associated with the value.
- _dimensionAttributeValueId
Type: RecId Extended Data Type
The value of the dimension attribute to add.
- _dimensionAttributeValueHashKey
Type: HashKey Extended Data Type
Return Value
Type: int
The index of the value in the set.
Remarks
If the DimensionAttribute value that is associated with the value that is already in the set, that index will be updated to point to the new value and the same index will be returned. If the DimensionAttribute value is not in the set yet, it will be added to the end and the index of the new value will be returned.