EntityHistory

Represents historical information about an object’s changed field values. This object is only available to users with the “View All Data” permission.

This object is unavailable beginning with API version 8.0. Use the object-specific History objects instead: CaseHistory, ContractHistory, LeadHistory, OpportunityFieldHistory, OpportunityHistory ProcessInstanceHistory, QuantityForecastHistory, RevenueForecastHistory, or SolutionHistory.

Supported Calls

describeSObjects(), getUpdated(), getDeleted(), query(), retrieve()

Fields

Field Details
FieldName
Type
picklist
Properties
Filter, Restricted picklist
Description
ID of the standard or custom field.
IsDeleted
Type
boolean
Properties
Defaulted on create, Filter
Description
Indicates whether the object has been moved to the Recycle Bin (true) or not (false). Label is Deleted.
NewValue
Type
anyType
Properties
Nillable
Description
New value of the modified field.
OldValue
Type
anyType
Properties
Nillable
Description
Previous value of the modified field.
ParentId
Type
reference
Properties
Filter
Description
ID of the object that contains the field.
ParentSobjectType
Type
picklist
Properties
Filter, Restricted picklist
Description
The kind of object that contains the field.

Usage

In API version 7.0 and later, this object works with Case, Contract, and Solution objects:

© Copyright 2000–2012 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.