Another Salesforce blog!!!

Salesforce, Apex

SALESFORCE – DUPLICATION

Managing Duplicates Records with Duplicate Rules

Prevent duplicate names and provide custom error messages using duplicate rules

Step 1: Creating MATCHING RULES:

Step 2: Creating DUPLICATE RULES: Setup–> Data.com Administration

Favorite