The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
jrk
4 years agoNew Contributor III
Mass Delete Members below Orphan
I'm looking for an option to mass delete members marked as ORPHANS in a dimension, I tried few options but if there is any data in the application for any of these ORPHAN members the delete fails
W...
jrk
4 years agoNew Contributor III
Cleared the data now to delete these members
Was trying to get the parent member ID for one of the orphan members ID and then wanted to delete all the members below that parent member ID. But somehow the below output returns blank, looks like ORPHAN members doesn't have any parent ID even though they are grouped in one place in the hierarchy
Is there a way to identify the ORPHAN members?
Dim objDimPk As DimPk = BRApi.Finance.Dim.GetDimPk(si, "Location")
Dim objDimDisplayOptions As New DimDisplayOptions()
Dim objList As List(Of Member) = BRApi.Finance.Members.GetParents(si, objDimPk, objID, False, objDimDisplayOptions)
brapi.ErrorLog.LogMessage(si, objList(0).tostring)
Related Content
- 3 years ago
- 1 month ago