---
schema_version: "1"
id: 04813d4072d99b8f0caed9ca9c62b6a441e71cb4e01806ed7f05d677fd3683ac
title: FlexibleHierarchyNode
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_flexiblehierarchynode.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_flexiblehierarchynode.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3cd170938fbd1cb2723c8804228ff61be0e064d81444aaab2165e41cf663e37c
description: 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.
---
# 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.