AccountHistory
Maintains a historical record of changes made to Account fields that have field history tracking enabled.
Columns
| Name | Type | References | Description |
| Id [KEY] | String | Unique identifier for the AccountHistory record. | |
| IsDeleted | Bool | Indicates whether this history record has been deleted. | |
| AccountId | String |
Account.Id | ID of the account associated with the field change. |
| CreatedById | String |
User.Id | ID of the user who made the change recorded in this history. |
| CreatedByIdType | String | Specifies the type of the 'CreatedById' polymorphic field to use in the statement. | |
| CreatedByIdExternalFieldName | String | Specifies the external field name of the 'CreatedById' polymorphic field to use in an INSERT/UPDATE/UPSERT statement | |
| Field | String | API name of the field on the Account object that was changed. | |
| DataType | String | Type classification for Data. | |
| OldValue | String | The previous value of the field before the change occurred. | |
| NewValue | String | The updated value of the field after the change was made. | |
| SOQL | String | Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. | |
| ExternalIdColumn | String | Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. | |
| FilterScope | String | Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. | |
| CreatedDate | Datetime | Date and time when the change was recorded. |