Bedrock.Dim.CloneFromSubset.Flat

This Bedrock TM1 TI will make a copy of an existing dimension subset, creating it as a dimension.  All 'C' type elements of the source subset will be created as N type elements in the target dimension. 

Parameters

Parameter

Data Type

Default

Explanation

pSourceDim

String


The dimension that is to be cloned.

pSubset

String


The subset that contains the elements to be cloned. When this parameter is blank then all elements in the dimension to be cloned will be copied.

pTargetDim

String


The name of the dimension to be created. The dimension will be rebuilt if it already exists. If this parameter is null then the target dimension name will be the source dimension name with '_Clone' appended to the end.  

pAttr

Boolean

0

Set to 1 to copy the source dimension's attributes to the new dimension.

pDebug

Numeric

0

The debug mode.


Example


ExecuteProcess('Bedrock.Dim.CloneFromSubset.Flat',

    'pSourceDim','Account',

    'pSubset','All Planning Level'

    'pTargetDim','Account Planning',

    'pAttr',1,

    'pDebug',0

    );


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