cancel
Showing results for 
Search instead for 
Did you mean: 

CheckForDuplicateAccounts Duplicate check badi in C4C

sumit_mittal2
Active Contributor

Hi Experts,

Please let us know if anyone has sample implementation of account duplicate check badi in c4c.

by looking at the following sample code from the duplicate check badi, i can see that we need to implement the complete logic within the badi and provide the duplicate check business partner guids as an output of the badi with the matching percentage.

with this i feel we have completely implement the duplicate check logic in badi and we wont be using any duplicate check algorithms provided by standard.

Also is there any possibility of extending the duplicate check logic other than the standard field mentioned in the badi?

We need to invoke the duplicate check via ERP to C4C interface which involves some custom field as well.

Please advise.

Return the found Duplicate Accounts...

	// Add 1st Potential Duplicate
	resultEntry.BusinessPartnerUUID.content = "00163E02EF341EE1BB93B81011CA532D";  
	resultEntry.SimilarityPercent = "90.85"; 

	result.Duplicates.Add(resultEntry);

	// Add 2nd Potential Duplicate
	resultEntry.BusinessPartnerUUID.content = "00163E12BA691ED5B6AEE937667DC1AA"; 
	resultEntry.SimilarityPercent = "85.13"; 

result.Duplicates.Add(resultEntry);

raphael-l
Participant
0 Kudos

Hi,

good question. Would also be interested what's the solution for that. Shouldn't be the fact that we need to re development the standard duplicate check of c4c if we just want to add an additional field to the duplicate check.

And in my opinion standard coding (provided in the repository explorer) doesn't answer that question.

Best regards,

Raphael

Accepted Solutions (0)

Answers (0)