I need to build a dimension using Parent/Child references from a load file that is not in any particular order. This would ordinarily be no problem since I can allow moves when I load the dimension, but there need to be shared members in the dimension. When the load encounters a shared member, it moves the initial member rather than creating a duplicate member.
I have tried loading the dimension in two passes, first allowing moves, then without moves, and this almost works... but it makes the first occurance of a member shared, and the last occurance a stored member rather than the other way around.
If I have to I can manually edit the outine to fix this, but it seems that there must be a better way. Any suggestions will be appreciated.
I take it you are loading the same file twice using two different load rules. The first pass creates the member in the first location, then moves it when it encounters it with a different parent. The second pass creates the 'second' member as a child of the first parent and marks it shared, as the member is already in the outline.
I would suggest splitting your load file in two, with the second file being just shared members (with unique parent adds).