Newer Version Available

This content describes an older version of this product. View Latest

FieldHistoryArchive

Represents field history values for all objects that retain field history. This object is only available to users with the “RetainFieldHistory” permission. This object is available in API version 29.0 and later.

The FieldHistoryArchive object is currently available through a limited pilot program. Contact your salesforce.com representative to see if your organization qualifies.

Note

Supported Calls

describeSObjects()query()

Fields

Field Name Details
Field
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
The name of the field that was changed.
FieldHistoryType
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
The name of the object containing the field history (for example, Account).
Id
Type
ID
Properties
Defaulted on create, Filter, Group, idLookup, Sort
Description
The ID of the archived record. It’s useful to have a field’s ID for fields that you may have deleted. (Field names are not retained in history when you delete fields from Salesforce.)
NewValue
Type
anyType
Properties
Nillable, Sort
Description
New value of the modified field.
OldValue
Type
anyType
Properties
Nillable, Sort
Description
Previous value of the modified field.
ParentId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the object that contains the field.