FlexibleHierarchyNode

Represents a unique entity within the hierarchy, such as a company, a subsidiary, a branch unit, or an individual person. This object is available in API version 66.0 and later.

Supported Calls

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

Special Access Rules

This is a standard object and is available only when you turn on the Flexible Hierarchies setting.

Fields

CurrencyIsoCode

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: Three-letter ISO currency code associated with the hierarchy.
  • Default value: USD
  • Possible values:
    • INR—Indian Rupee
    • USD—U.S. Dollar

FlexibleHierarchyId

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: The flexible hierarchy that's associated with the flexible hierarchy node.

    This field is a relationship field.

  • Relationship Name: FlexibleHierarchy
  • Relationship Type: Master-detail
  • Refers To: FlexibleHierarchy (the master object)

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date when a user referenced this record.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date when a user viewed this record.

Name

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The name of the record.

ReferenceRecord

  • Type: string
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The ID of the record that this node represents in the hierarchy.

ReferenceRecordObject

  • Type: string
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The API name of the object that's the reference record in this flexible hierarchy node.

Role

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Specifies the business role or classification of this node within the hierarchy.

SourceSystemIdentifier

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The unique identifier of this record in an external system.

SourceSystemName

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The name of the external system this record was obtained from.