Hi grann19,
Thank you so much for reply.
As per your suggestion I think you are saying like if we want to get grand parent object ID from Child project, we need to build from grand parent first. But , In case of mine, we are looking from lower level to upper level. Technically, when we are form a tree, we are building tree with parent-child relation. when child project comes in the result list, we will identify its parent and will form child node under that parent node. But in above case, we have grand parent and child, since we doesn't have parent, we need to form child node under its grand parent. so, issue comes here, we are unable to identify child's grand parent, since relation is missing with parent project between grand parent and child. so, can you please give me some more alternative ways to resolve it.