Skip to Content
0
Nov 29, 2019 at 06:40 AM

Find the customer duplicates in ABSL Code

532 Views Last edit Mar 02, 2020 at 02:41 PM 3 rev

Hi,

We have found that Customer BO provides a method "CheckForDuplicates" in order to find the duplicates of the processed customer.

We tried use this action but it gives a message as "duplicate check cannot be carried out. Search criteria is missing" even when search criteria is added.

Below is the code snippet

customer = Customer.Retrieve(bp);

var code : BUSINESSPARTNER_PartBusinessCharacterCode;

code.content = "CRM000";

customer.CheckForDuplicates("/YG6438TF/1",code,true,true,true,true,"/YG6438TF/1",code,false);

Can you please let me know if anything is missing here?

Thanks in advance,

Gayatri