Skip to content

}bedrock.cube.data.copy to consolidated member end with error #437

@apkolesar

Description

@apkolesar

Describe the bug
Process with mapping => from a consolidated member to consolidated member, end with error.

      If ( DTYPE( sDimension, sElement) @= 'C' );
          IF( nElementCount = 1 );
            If( pSuppressConsol <> 1 );
              nSuppressConsol = 0;
            EndIf;
            pSubN = 1;
          Else;
            sMessage = Expand( 'Target element: %sElement% for dimension %sDimension% is consolidated' );
            nErrors = nErrors + 1;
            LogOutput( cMsgErrorLevel, Expand( cMsgErrorContent ) );
            #ProcessBreak;
          Endif;
      Endif;

Target element is nElementCount=2 therefore it always get an error if it is consolidated.

To Reproduce
Steps to reproduce the behavior:

  1. Run }bedrock.cube.data.copy with mapping from consolidated member to consolidated member,
  2. Run with parameters : pSuppressConsol is set to 0, pSubN = 0
  3. Result is: Process:}bedrock.cube.data.copy ErrorMsg:Target element: XXXX for dimension XXXX is consolidated

Expected behavior
Consolidations may be made allowable so that you can copy strings between c levels or copy from a consolidated source element to an n level target element.

Version

  • TM1 Server Version: 11.8.02300.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions