Further information
This is the code
IF( vDebug > 0 ) ;
IF( vChild @= 'X084A346' ) ;
asciioutput( vDebugPathFileMetaData , vTargetDim , vHier , vChild, vChildElemType , NumberToString( vBase0ParentLevelNum ) ) ;
ENDIF ;
ENDIF ;
HierarchyElementInsert( vTargetDim , vHier , '' , vChild , vChildElemType ) ;
This is giving this output:
"N_UCoA_Programme_Origin","Control_Budget_Hier","X084A346","c","2"
Which proves that I am trying to insert the Element as a Consolidation.
However, I am getting the error
Error: MetaData procedure line (0): Insertion of leaf "X084A346" into hierarchy "N_UCoA_Programme_Origin:Control_Budget_Hier" failed because a consolidated element by that name already exists in the dimension.
Which proves that PA is deciding to try to insert the element as an N level instead of the C level that I requested.
This is clearly a bug. If this is not the right place to report a bug, please let me know where it should be reported.
------------------------------
Paul Simon
------------------------------