Trigger To check Duplicate on Lead Using Email and Phone

The above functionality can be achieved by duplicate rules. But as we are into coding we will be writing trigger for it. We will be writing Trigger and Handler for it. The best practice for writing a trigger and Calling the apex class in which we will be writing the business logic for it. Apex … Continue reading Trigger To check Duplicate on Lead Using Email and Phone

Wrapper Class in Salesforce

A wrapper class is a class, a data structure, or an abstract data type which contains different objects or collection of objects as its members.The main reason for using a wrapper class is it helps in displaying the records for the multiple types of objects.The wrapper is class which we create to hold the data … Continue reading Wrapper Class in Salesforce