NAS
2 years agoNew Contributor III
Hierarchy validation
Hi, All
What's the best way to ensure a specific tree within the account hierarchy has only one member within it. Would like to have a "count greater than one" alert or a report we can run, as inadvertent accounts affect data integrity.
TIA!
Hi NAS,
There are many ways to achieve that. One of the simple ones could be to create a cubeview with a row member on Entity and export to excel where you would count the members. You could put this kind of formula in your cube view in rows and Time in Column
E#AllOrgs.Descendants.Where(HasChildren = False)
And obviously you go take a more complex road involving Business Rules... but lets keep it simple 🙂 This solution can be achieve in 10 minutes !
If it helps, please click on Kudo below. Thanks