LeadCleanInfo

Stores the metadata Data.com Clean uses to determine a lead record’s clean status. Helps you automate the cleaning or related processing of lead records.

Lead Clean Info provides a snapshot of the data in your Salesforce lead record and its matched Data.com record at the time the Salesforce record was cleaned.

Lead Clean Info includes a number of bit vector fields, whose component fields each correspond to individual object fields and provide related data or status information about those fields. For example, the bit vector field IsDifferent has an IsDifferentTitle field. If the IsDifferentTitle field’s value is False, that means the Title field value is the same on the Salesforce lead record and its matched Data.com record.

LeadCleanInfo bit vector fields include:

Their individual bits are defined here

Supported Calls

describeSObjects()getDeleted()getUpdated()query()retrieve()update()

Fields

Field Name Details
Address
Type
address
Properties
Filter, Nillable
Description
The compound form of the address. Read-only. See Address Compound Fields for details on compound address fields.
AnnualRevenue
Type
currency
Properties
Filter, Nillable, Sort
Description
Estimated annual revenue of the lead.
City
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Details for the billing address of the lead.
CleanedByJob
Type
boolean
Properties
Filter
Description
Indicates whether the lead record was cleaned by a Data.com Clean job (true) or not (false).
CleanedByUser
Type
boolean
Properties
Filter
Description
Indicates whether the lead record was cleaned by a Salesforce user (true) or not (false).
CompanyDunsNumber
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The Data Universal Numbering System (D-U-N-S) number is a unique, nine-digit number assigned to every business location in the Dun & Bradstreet database that has a unique, separate, and distinct operation. D-U-N-S numbers are used by industries and organizations around the world as a global standard for business identification and tracking.
CompanyName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The name of the company.
ContactStatusDataDotCom
Type
picklist
Properties
Filter, Group, Nillable, Sort
Description
The status of the contact associated with the lead per Data.com. Values are: Contact is Active per Data.com, Phone is Wrong per Data.com , Email is Wrong per Data.com, Phone and Email are Wrong per Data.com, Contact Not at Company per Data.com, Contact is Inactive per Data.com, Company this contact belongs to is out of business per Data.com, Company this contact belongs to never existed per Data.com or Email address is invalid per Data.com.
Country
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Details for the billing address of the lead.
DandBCompanyDunsNumber
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The D-U-N-S Number on the D&B Company record (if any) that is linked to the lead.
DataDotComCompanyId
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The ID Data.com maintains for the company associated with the lead.
DataDotComId
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The ID Data.com maintains for the contact associated with the lead.
Email
Type
email
Properties
Filter, Group, Nillable, Sort
Description
The lead’s email address.
FirstName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The lead’s first name.
Industry
Type
picklist
Properties
Filter, Group, Nillable, Sort
Description
The industry the lead belongs to.
IsDifferentAnnualRevenue
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s AnnualRevenue field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentCity
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s City field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentCompanyDunsNumber
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s Company D-U-N-S Number field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentCompanyName
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s Company Name field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentCountry
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s Country field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentCountryCode
Type
boolean
Properties
Filter
Description
Indicates whether the account’s Country Code field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentDandBCompanyDunsNumber
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s D&B Company D-U-N-S Number field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentEmail
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s Email field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentFirstName
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s First Name field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentIndustry
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s Industry field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentLastName
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s Last Name field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentNumberOfEmployees
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s No. of Employees field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentPhone
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s Phone field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentPostalCode
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s Postal Code field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentState
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s State field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentStateCode
Type
boolean
Properties
Filter
Description
Indicates whether the account’s State Code field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentStreet
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s Street field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsDifferentTitle
Type
boolean
Properties
Filter
Description
Indicates whether the lead’s Title field value is different from the corresponding value on its matched Data.com record (true) or not (false).
IsFlaggedWrongAddress
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Address field value is flagged as wrong to Data.com (true) or not (false).
IsFlaggedWrongAnnualRevenue
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Annual Revenue field value is flagged as wrong to Data.com (true) or not (false).
IsFlaggedWrongCompanyDunsNumber
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Company D-U-N-S Number field value is flagged as wrong to Data.com (true) or not (false).
IsFlaggedWrongCompanyName
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Company Name field value is flagged as wrong to Data.com (true) or not (false).
IsFlaggedWrongEmail
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Email field value is flagged as wrong to Data.com (true) or not (false).
IsFlaggedWrongIndustry
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Industry field value is flagged as wrong to Data.com (true) or not (false).
IsFlaggedWrongName
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Name field value is flagged as wrong to Data.com (true) or not (false).
IsFlaggedWrongNumberOfEmployees
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s No. of Employees field value is flagged as wrong to Data.com (true) or not (false).
IsFlaggedWrongPhone
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Phone field value is flagged as wrong to Data.com (true) or not (false).
IsFlaggedWrongTitle
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Title field value is flagged as wrong to Data.com (true) or not (false).
IsInactive
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether the lead has been reported to Data.com as Inactive (true) or not (false).
IsReviewedAddress
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Address field value is in a Reviewed state (true) or not (false).
IsReviewedAnnualRevenue
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Annual Revenue field value is in a Reviewed state (true) or not (false).
IsReviewedCompanyDunsNumber
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Company D-U-N-S Number field value is in a Reviewed state (true) or not (false).
IsReviewedCompanyName
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Company Name field value is in a Reviewed state (true) or not (false).
IsReviewedDandBCompanyDunsNumber
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s D&B Company D-U-N-S Number field value is in a Reviewed state (true) or not (false).
IsReviewedEmail
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Email field value is in a Reviewed state (true) or not (false).
IsReviewedIndustry
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Industry field value is in a Reviewed state (true) or not (false).
IsReviewedName
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Name field value is in a Reviewed state (true) or not (false).
IsReviewedNumberOfEmployees
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s No. of Employees field value is in a Reviewed state (true) or not (false).
IsReviewedPhone
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Phone field value is in a Reviewed state (true) or not (false).
IsReviewedTitle
Type
boolean
Properties
Filter, Update
Description
Indicates whether the lead’s Title field value is in a Reviewed state (true) or not (false).
LastMatchedDate
Type
dateTime
Properties
Filter, Sort
Description
The date the lead record was last matched and linked to a Data.com record.
LastName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The lead’s last name.
LastStatusChangedById
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The ID of who or what last changed the record’s Clean Status field value: a Salesforce user or a Clean job.
LastStatusChangedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date on which the record’s Clean Status field value was last changed.
Latitude
Type
double
Properties
Filter, Nillable, Sort
Description
Used with Longitude to specify the precise geolocation of a billing address. Data not currently provided.
LeadId
Type
reference
Properties
Filter, Group, Sort
Description
The unique, system-generated ID assigned when the lead record was created.
Longitude
Type
double
Properties
Filter, Nillable, Sort
Description
Used with Latitude to specify the precise geolocation of a billing address. Data not currently provided.
Name
Type
string
Properties
Filter, Group, Sort, Update
Description
Field label is Lead Clean Info Name. The name of the lead. Maximum size is 255 characters.
NumberOfEmployees
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The number of employees working at the lead.
Phone
Type
phone
Properties
Filter, Group, Nillable, Sort
Description
The phone number for the lead.
PostalCode
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Details for the billing address of the lead.
State
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Details for the billing address of the lead.
Street
Type
textarea
Properties
Filter, Group, Nillable, Sort
Description
Details for the billing address of the lead.
Title
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The lead’s title.

Usage

Developers can create triggers that read the Lead Clean Info fields to help automate the cleaning or related processing of lead records.