We have a requirement to do DQM and check for duplicate customers before creating them in the base tables. The creation of customers is done in batch using a custom concurrent program. So, we want to introduce the duplicate check before the creation and log any duplicates into the log file along with the duplicate customer information present in the TCA tables. Has anyone done this and which APIs have you used. Would appreciate if you could share the information.