Hi,
I need to write one script logic as below.
-> Loop through all parent members
-> get child members based on child members group_id( like childID.groupID=ParentID)
-> Now divide parent amount for each child member based on child members % value
Suppose, there is A member who has children like B and C. I need to divide A's value $100 for both B and C based on their % values,say,30% and 70%. So, B and C get $30 and $70.
Is it possible to do script logic for this?
We need this for allocation of header amount to child members based on their head count %.
Thanks.