Bedrock.Cube.Dimension.Replace

This Bedrock TM1 TI replaces an existing dimension with another dimension that exists in the model. 

Note: After running this process, all the data in the cube will be lost. The cube rules may need to be modified and re-saved for the cube.

Limited to a cube with a maximum of 27 dimensions.

Parameters

Parameter

Data Type

Default

Explanation

pCube

String


The name of the target cube to be changed.

pSourceDim

String


The name of the existing dimension that is to be replaced. This dimension must be in the specified cube.

pTargetDim

String


The name of the replacement dimension. This dimension must exist in the model.

pDebug

Numeric

0

The Debug mode.


Example

ExecuteProcess('Bedrock.Cube.Dimension.Replace',

    'pCube','General Ledger',

    'pSourceDim','Business Unit',

    'pTargetDim','Cost Centre',

    'pDebug',0

    );


Copyright 2011, bedrocktm1.org Tested on: TM1 Versions 9.1 to 10.2.1 / Cognos Express 9.0 to 10.2