Does anyone have any SOA code to search for a relationship (using ID, TARGET_ID, RELATION_TYPE, TARGET_RELATION_TYPE).
If it does not exist, create a new relationship otherwise update the relationship (update STATUS and THRU_DATE fields).
Any code that is similar to what I am after would be great.
Thanks
Leo