---
schema_version: "1"
id: e08c7529ec2f2bf6e80c0ee7d19ae89703e984beb676ca4a64683bd7d30d033f
title: FlexibleHierarchyNodeRela
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/sforce_api_objects_flexiblehierarchynoderela.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/sforce_api_objects_flexiblehierarchynoderela.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 84014c839965807e563cac2953a6281dc29f52356a2e30abfef32be6a578a12f
description: 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.
---
# 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