Newer Version Available

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

ExternalAccountHierarchy

Represents the external account hierarchy, which works like a role-based hierarchy. Use ExternalAccountHierarchy to allow partner and customer users to share data with other external accounts in their hierarchy.This object is available in API version 49.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Special Access Rules

You must have a Partner or Customer Community Plus license.

Fields

Field Details
AccountId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the account in the external account hierarchy.
CurrencyISOCode
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Possible values are:
  • GBP— British Pound
  • USD— U.S. Dollar

The default value is USD.

Description
Type
textarea
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The description of the external account hierarchy.
HierarchyType
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Restricted picklist, Sort
Description
Possible values are:
  • CustomerPortal — Customer
  • Partner

The default value is Partner.

IsAccessibleToParent
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Allows data to be shared with parent account in the account hierarchy. The default value is true.
IsActive
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
When true, the hierarchy is turned on. The default value is false.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed a record related to this record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed this record. If this value is null, this record might only have been referenced (LastReferencedDate) and not viewed.
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
Name of the external account hierarchy.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The ID of the account owner.
ParentId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of the parent account.