HierarchySubsetAttrPutN
HierarchySubsetAttrPutN assigns a numeric value to an attribute for a specified subset associated with a hierarchy in a dimension.
This function is valid in TM1® TurboIntegrator processes only.
Syntax
HierarchySubsetAttrPutN(NumericValue, DimName, HierName, SubName, AttrName, [LocalLangCode] );
Argument |
Description |
---|---|
NumericValue |
The value you want to assign to a dimension attribute. |
DimName |
The dimension for which you want to assign an attribute value. |
HierName |
The name of a hierarchy in a dimension. |
SubName |
The name of a subset in a dimension. |
AttrName |
The attribute whose value you want to assign. |
LangLocaleCode |
This optional parameter specifies the language locale code to which the NumericValue applies. Valid LangLocaleCode values correspond to the ISO 639-1 international language codes listed in the Cultures control dimension. When the LangLocaleCode is not specified or is omitted, the base attribute value is updated. |
Example
This example assigns the value 07161994 to the AccountingCode attribute of the Z subset (from the 2016 hierarchy in the Models dimension) for the French language locale code.
HierarchySubsetAttrPutN(07161994, 'Models', '2016', 'Z', 'AccountingCode','fr');