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
MatthieuR
3 years agoNew Contributor III
Assess in a rule if entity member is a parent
Hello All,
We have a requirement to make some text display dynamically showing or not based on whether the entity member selected in a combo box is a base member or a parent.
In my XFBR, I found ...
Henning
OneStream Employee
3 years agoHi Matthieu,
no time to test at the moment, but hopefully you find this useful. Did you write the entityId into your error log to confirm that the XFBR picks up the correct entity? It often happens that the loop is incorrectly picked up and it looks like the function does not work even though something before that may have gone wrong.
You could also have a go with those two functions to see whether that makes a difference:
brapi.Finance.Members.IsBase(si, dimPk, ancestorMemberId, baseMemberId, Nothing)
brapi.Finance.Members.HasChildren(si, dimPk, memberId, Nothing)
Related Content
- 2 years ago
- 4 months ago