StandardObjectNameHistory

StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.

The object name is variable and uses StandardObjectNameHistory syntax. For example, AccountHistory represents the history of changes to the values of an account record’s fields. We list the available associated history objects at the end of this topic. For specific version information, see the documentation for the standard object.

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

You can also enable delete() in API version 42.0 and later. See Enable delete of Field History and Field History Archive.

For specific special access rules, if any, see the documentation for the standard object. For example, for AccountHistory, see the special access rules for Account.

Type: reference

Properties: Filter, Group, Sort

Description: ID of the standard object.

Type: picklist

Properties: Filter, Group, Nillable, Restricted picklist, Sort

Description: Data type of the field that was changed.

Type: picklist

Properties: Filter, Group, Restricted picklist, Sort

Description: Name of the field that was changed.

Type: anyType

Properties: Nillable, Sort

Description: New value of the field that was changed.

Type: anyType

Properties: Nillable, Sort

Description: Old value of the field that was changed.

These objects follow the standard pattern for associated History objects.