Table of Contents

Search

  1. Preface
  2. API Reference

global static Decimal getScore (Id sObjectId1, Id sObjectId2, String settingName)

global static Decimal getScore (Id sObjectId1, Id sObjectId2, String settingName)

Compares a bean to bean, master bean to master bean, bean to master bean, or master bean to bean and returns the fuzzy comparison score. The match score is calculated using the specified match setting. If any field with weightage > 100 does not match, score is returned as zero. Otherwise, a score is returned regardless of the value in the Duplicate Check Threshold and High Matching Threshold.

Parameters:

sObjectId1
The first Salesforce object ID.
sObjectId2
The second Salesforce object ID.
settingName
The name of the match setting. For example, account.

Returns:

The fuzzy comparison score.

0 COMMENTS

We’d like to hear from you!