Skip to Content
0
Aug 23, 2023 at 07:25 PM

Does createMembers inpact the whole hierarchy previousSublingId?

47 Views

Hello,

I'm curious when inserting a new member into a dimension with a Parent-Child hierarchy by the code below:

should I care about changing the previousSublingId of other members or createMembers does it itself properly?

For example, if I insert (create) a new member between "ex" and "old" members, should I change also the "old" member? Or this will be done automatically by createMembers method?

image.png

Thanks a lot,

Yuri

PlanningModel.createMembers("Dimension",
                            {id: Id, description: desc,
			     hierarchies:{H: {parentId: parentId, previousSiblingId: previous}}});

Attachments

image.png (2.3 kB)