Parent/Child Linking
Hook code to get list of children and step through each of them:
parent_id = GetFieldValue("child_link").GetValue()
sessionobj.outputdebugstring "parent id is: " & parent_id & vbCrLf
set ParentObj = sessionobj.GetEntity("defect", parent_id)
ChildRefList = ParentObj.GetFieldValue("parent_link").GetValue
ChildArray = split (ChildRefList, vbLf)
For Each ChildID In ChildArray