Hi.
Recently, we've noticed the number of orphans in INV_HIERARCHIES seems to continually increase. By orphan in this case I mean ANY entry in which PARENT_ID is null. We're experiencing this also for regular projects, not just programs.
It appears that Clarity inserts initial entries into the INV_HIERARCHIES when creating a project, which it later doesn't clear away.
We're suspecting the XOG interface (i.e. when creating new projects over XOG), but so far we haven't really bothered to investigate further.
We just discovered this when a couple of our queries failed when for a given CHILD_ID there were multiple rows in INV_HIERARCHIES, with a "null" PARENT_ID in one of them.
Daniel.