1356:
1357: ----If constraining relationship exists with rebuild source delete it
1358: select count(*)
1359: into constraining_rel
1360: from eam_wo_relationships
1361: where parent_object_id=l_old_rebuild_source
1362: and child_object_id=X_wip_Entity_Id
1363: and parent_relationship_type=1;
1364:
1382: ----If followup relationship exists with rebuild source delete it
1383:
1384: select count(*)
1385: into followup_rel
1386: from eam_wo_relationships
1387: where parent_object_id=l_old_rebuild_source
1388: and child_object_id=X_wip_Entity_Id
1389: and parent_relationship_type=4;
1390: