MatthieuR
2 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 this function that would give me this information but when I set it up, it returns me false, whereas in some cases, the entity selected had children (so is a parent).
"Dim IsParent As Boolean = BRApi.Finance.Entity.HasChildren(si, EntitydimPk, SelectedEntityID, Nothing)"
Could you let me know where my function's set up could be wrong or also if you would propose to use an other solution to achieve this requirement ?
Thank you