HierarchyAttrPutS
HierarchyAttrPutS assigns a value to a string attribute in a specified hierarchy within a dimension.
This function is valid in TM1® TurboIntegrator processes only.
Syntax
HierarchyAttrPutS(String, DimensionName, HierName, AttrName, [LangLocaleCode] );
Argument |
Description |
---|---|
String |
The string you want to assign to a dimension attribute. |
DimensionName |
The dimension for which you want to assign an attribute value. |
HierName |
The name of the hierarchy within the 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 string value Prototype to the Description attribute of the Model dimension for the French language locale code. This change is applied to the Receivables hierarchy in the Model dimension.
HierarchyAttrPutS('Prototype', 'Model', 'Receivables', 'Description','fr');