EDM Tree label property(parent/child) logic for GL application
Create an EDMCS derived property such that:
- Leaf nodes have no label (or Child if you prefer).-
- The immediate parent of any leaf is labeled Parent1.
- For any non-leaf node, if it has both leaf children and sub-parent children, the label is based on the sub-parent (i.e., ignore the leaf and use the max label among children, then add 1).
- Among siblings, the highest child level is used to determine the parent’s label.
In short:
Node’s Parent Level = (max of all child Parent Levels) + 1, where leaf child Parent Level = 0.
ABC -> Parent5
DEF -> Parent4
JKL -> Parent3
Tagged:
0