IRdsDictionary.HasDimMultipleValues

Fore Syntax

HasDimMultipleValues: Boolean;

Fore.NET Syntax

HasDimMultipleValues: boolean;

Description

The HasDimMultipleValues property determines whether multiple values are loaded to IDimAttributeInstance.

Comments

Available values:

Fore Example

Executing the example requires an MDM dictionary with the T_DICTIONARY identifier located in the repository with the MDM identifier.

Add links to the Metabase, Rds system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Dict: IRdsDictionary;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemByIdNamespace("T_DICTIONARY", MB.ItemById("MDM").Key).Edit;
    Dict := MObj As IRdsDictionary;
    Dict.HasDimMultipleValues := True;
    MObj.Save;
End Sub UserProc;

After executing the example multiple values are loaded to the dictionary attribute.

Fore.NET Example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example.

Imports Prognoz.Platform.Interop.Rds;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Dict: IRdsDictionary;
    Attrs: IRdsAttributes;
    Attr: IRdsAttribute;
Begin
    MB := Params.Metabase;
    MObj := MB.ItemByIdNamespace["T_DICTIONARY", MB.ItemById["MDM"].Key].Edit();
    Dict := MObj As IRdsDictionary;
    Dict.HasDimMultipleValues := True;
    MObj.Save();
End Sub;

See also:

IRdsDictionary