global static void loadDataQualityEvents(String sObjectName, List<Sobject> sobjRecords)
global static void loadDataQualityEvents(String sObjectName, List<Sobject> sobjRecords)
Creates transaction entries in the Event Queue table for a list of accounts, contacts, and leads. When the External Cleansing batch job is run, the batch job picks up records from the Event Queue table and sends the records to AddressDoctor for cleansing addresses.
Parameters:
sObjectName
The salesforce object type; account, contact, or lead.
sobjRecords
The list of records corresponding to the Salesforce object type. For example, if you specify account as sObjectName, then you must specify a list of accounts for this parameter.
Include all the relevant address fields for records that you pass as sobjRecords.