Overview

Determine master record

The getMergeMaster method identifies the master record from a list of Salesforce objects (SObject) based on the Plauti Deduplicate Merge Rules. This method does not perform the merge but previews which record would be chosen as the master and what field values would change after the merge.

Key points

  • Evaluates a list of SObject records to determine the master record.
  • Applies Plauti Deduplicate Merge Rules to identify the master.
  • Returns an SObject representing the master record, including only fields that would be updated or changed during the merge.
  • The actual merge process is not performed by this method, it is used for preview and validation purposes.
  • Returns null if no master record is determined.