bool UpdateDataAreaExternalTransformations(string mon, DataAreaExternalTransformationUpdateActions tArg)
mon. Moniker for working with calculation algorithms in data slices.
tArg. Operation execution parameters.
The UpdateDataAreaExternalTransformations operation is used to work with calculation algorithms used in data slices.
The operation allows for adding and changing settings, and deleting the calculation algorithms used in data slices in regular report. To execute the operation, in the mon field specify regular report instance with the Regular report instance moniker!DataArea!DataSources!Data source key!DataSourceSlices!Slice key!ExternalTransformations postfix, and in the tArg.its collection specify the operations executed with calculation algorithms in data slice. The moniker can be obtained on executing the OpenPrxMeta operation.
When adding a new algorithm for a data slice in the tArg.its collection specify a new element with the -1 key, and in the tArg.its.externalTransformation.algorithm field specify calculation algorithm description in the repository. Algorithm description can be obtained using the OpenAlg operation. One can also determine necessary settings for algorithm work and sending values by parameter if algorithm is a parametric one. After the algorithm is added, a new pass-through key is generated for it in the tArg.its collection. Further operations for updating or deleting algorithms are executed by means of pass-through keys of elements in the tArg.its collection.
The operation results in the logical True if operations with algorithms were completed successfully.
Various methods of using the operation are given in the following examples:
Example name |
Adding Calculation Algorithm for Data Slice |
Changing Calculation Algorithm Settings for Data Slice |
See also: