FlexibleHierarchyNodeRela

Represents the type of relationship between any two nodes in an hierarchy. For instance, a parent-subsidiary relationship between companies or an individual's affiliation with a company. 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.

PredecessorNodeId

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: The parent node associated with the relationship that's defined by this record.

    This field is a relationship field.

  • Relationship Name: PredecessorNode
  • Refers To: FlexibleHierarchyNode

RelatedRecord

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The related record that provides additional context for this node relationship, such as an Account Account Relation record.

RelatedRecordObject

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

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.

SuccessorNodeId

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: The child node associated with the relationship that's defined by this record.

    This field is a relationship field.

  • Relationship Name: SuccessorNode
  • Refers To: FlexibleHierarchyNode