---
schema_version: "1"
id: 0125aff8be5f8cadecde6e5caa1d5ac2bd3460295fa51fcd3cd67aecf329e89f
title: ExternalAccountHierarchyHistory
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_externalaccounthierarchyhistory.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_externalaccounthierarchyhistory.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9e27acad85284ed7a516599f7d66eac881f8eb2e42df543ad9e700d8b26826c2
description: Represents the history of changes to values in the fields of an external account hierarchy. This object is available in API version 50.0 and later.
---
# ExternalAccountHierarchyHistory

Represents the history of changes to values in the fields of an external account hierarchy. This object is available in API version 50.0 and later.

## Supported Calls

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](https://help.salesforce.com/articleView?id=000321814&type=1&mode=1&language=en_US "HTML (New Window)").

## Special Access Rules

You must have a Partner or Customer Community Plus license.

## Fields

| Field | Details |
| --- | --- |
| DataType | 
Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Possible values are:

- Address
- AnyType
- AutoNumber
- Base64
- BitVector
- Boolean
- Content
- Currency
- DataCategoryGroupReference
- DateOnly
- DateTime
- Division
- Double
- DynamicEnum
- Email
- EncryptedBase64
- EncryptedText
- EntityId
- EnumOrId
- ExternalId
- Fax
- File
- HtmlMultiLineText
- HtmlStringPlusClob
- InetAddress
- Json
- Location
- MultiEnum
- MultiLineText
- Namespace
- Percent
- PersonName
- Phone
- Raw
- RecordType
- SfdcEncryptedText
- SimpleNamespace
- StringPlusClob
- Switchable\_PersonName
- Text
- TimeOnly
- Url
- YearQuarter





 |
| ExternalAccountHierarchyId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the external account hierarchy.



 |
| Field | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

Possible values are:

- Account
- HierarchyType - Hierarchy Type
- IsAccessibleToParent - Is Accessible to Parent
- IsActive - Is Hierarchy Active
- Name
- Owner
- Parent
- Created - Created.
- FeedEvent - Feed Event
- IndividualMerged - Individual Merged
- Locked - Record Locked
- OwnerAccepted - Owner (Accepted)
- OwnerAssignment - Owner (Assignment)
- Unlocked - Record unlocked





 |
| NewValue | 

Type

anyType

Properties

Nillable, Sort

Description

The updated value of the changed field.



 |
| OldValue | 

Type

anyType

Properties

Nillable, Sort

Description

The previous value of the changed field.



 |