venkat4sv
asked on
Multi layer structure in Powerbuilder
I have a problem with traversing thru tree structure. I'm not able to calculate values at all levels.
PartnerA--->owenedby-->Par tnerB--->o wenedby--> PartnerC-- ->owenedby -->Partner D--->owene dby-->Part nerH->owen edby-->Par tnerI AND PartnerJ
|--->owenedby-->PartnerE-- ->owenedby -->Partner G |--->PartnerZ AND PartnerK
|--->owenedby-->PartnerF
A is owned by B of 40%
B is owned by C of 100%
C is owned by D of 98% and E of 1% and F of 1%
D is owned by H of 100%
H is owned by I of 80% and J of 20%
E is owned by G of 100%
I is owned by Z of 80% and K of 20%
Can you please suggest me how to calculate the percentage value at each level.
PartnerA--->owenedby-->Par
|--->owenedby-->PartnerE--
|--->owenedby-->PartnerF
A is owned by B of 40%
B is owned by C of 100%
C is owned by D of 98% and E of 1% and F of 1%
D is owned by H of 100%
H is owned by I of 80% and J of 20%
E is owned by G of 100%
I is owned by Z of 80% and K of 20%
Can you please suggest me how to calculate the percentage value at each level.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.