cancel
Showing results for 
Search instead for 
Did you mean: 

Merge command is not retaining relationships after merging records

Former Member
0 Kudos

We are using MDM 7.1 and building a utility around Merge functionality via the JAVA API . We are facing an issue while merging records. The MergeRecordsCommand is not retaining relationships that already exists on the anchor record .

How can I merge records while still maintaining the existing relationships.

Thanks for your help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Charinde Perera

You are right.

I think, that is correct logic.

Related records, as usually, are placed in one main table.

That are many simple records related each to another as child-parent.

If you want to merge two parents records - what sap mdm have to do with their child?

May be situation when merging parents records will have different number of child.

Solution depend you need.

Regards

Kanstantsin Chernichenka

Former Member
0 Kudos

Hi Kanstantsin Chernichenka,

Thanks for the reply.

I blv that we can retain the relationships that exist on anchor records during merge operations. I was able to do this from the data manager UI . I need to understand how to do the same via the JAVA API.

Please let me know your ideas on this