InitControlledParams(ObjKey: Integer; ObjParams: IMetabaseObjectParamValues);
InitControlledParams(ObjKey: uinteger; ObjParams: Prognoz.Platform.Intertop.Metabase.IMetabaseObjectParamValues);
ObjKey. Key of the nested object which parameters values must be calculated.
ObjParams. Collection of parameters values where calculated values will be placed.
The InitControlledParams method calculates the expressions of the nested object parameters management.
On executing the method the values of parameters with which the nested object is opened when opening this object are placed in the ObjParams collection.
Executing the example requires an object with the Obj_1 identifier that contains one parameter. This object is based on any additional object for which the parameters management was set.
Add a link to the Metabase system assembly.
After executing this example the object with the specified value of the parameter is opened. After opening the values of parameters with which the nested object is opened, are calculated. Names and values of the parameters of the nested object are displayed in the development environment console.
See also: