NidhiMangtani
3 years agoContributor III
Specifying SiblingSortOrder while adding relationship through extensibility rule
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.
- 3 years ago
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.