06-28-2022 02:29 PM - last edited on 05-02-2023 10:10 AM by JackLacava
Hello,
Can we figure out sibling sort order for existing members and add the new members at a specific position in hierarchy through extensibility rule?
Any samples would be helpful.
Solved! Go to Solution.
06-28-2022 02:49 PM
Dim relationshipPositionOptions As New RelationshipPositionOptions
relationshipPositionOptions.SiblingId = sSiblingID
relationshipPositionOptions.MovementType = RelationshipMovementType.InsertBeforeSibling
BRApi.Finance.MemberAdmin.SaveRelationshipInfo(si, relationshipInfo, relationshipPositionOptions)
Specifying movementtype worked.
No assistance needed.
06-28-2022 02:49 PM
Dim relationshipPositionOptions As New RelationshipPositionOptions
relationshipPositionOptions.SiblingId = sSiblingID
relationshipPositionOptions.MovementType = RelationshipMovementType.InsertBeforeSibling
BRApi.Finance.MemberAdmin.SaveRelationshipInfo(si, relationshipInfo, relationshipPositionOptions)
Specifying movementtype worked.
No assistance needed.
02-22-2024 12:28 PM
Hello,
I tried to move a account from one position to another position within same parent group.
Tried to modify using the codes above but no luck. Below is my code and any help will be appreciated.
02-22-2024 01:29 PM
Hello,
I think I may figure it out. Below is my working codes.