For the complete documentation index, see llms.txt. This page is also available as Markdown.

Build 3.92.0 (04tRl000001xnybIAA)

Add this path to your org URL: /packaging/installPackage.apexp?p0=04tRl000001xnybIAA

What's New

Duplicate: retrieve the master record ID

Use this function to identify the record that remains after a merge.

Function

Use this function to identify the master record before updating pair members and merging duplicates.

Inputs: The Salesforce record IDs for both duplicate records and the Duplicate Setting ID. The Duplicate Setting defines the selection rules.

Output: The master record ID.

delpha.DDQ_DuplicateApi.getMaster('[RecordId1]', '[RecordId2]', '[DuplicateSettingId]');

How to use it

  1. Select the duplicate records to process. This step is required for bulk updates.

SELECT Id, delpha__RecordId__c, delpha__MatchedRecordId__c
FROM delpha__DDQ_DuplicateRecord__c
WHERE delpha__Processed__c = false
  AND (delpha__Status__c = 'Steward Yes' OR delpha__Status__c = 'Auto Yes')
  1. Get the Duplicate Setting ID.

    • In the Delpha Setup app, open the Duplicate Setting to apply.

    • Copy the Duplicate Setting ID from the URL.

  2. Call getMaster with delpha__RecordId__c, delpha__MatchedRecordId__c, and the Duplicate Setting ID.

Notes

  • Batch calls support a maximum batch size of 100.

  • The calling user needs a valid Delpha License and the Delpha Admin Permission Set Group.

Last updated

Was this helpful?