FlexibleHierarchy
Represents the structure and hierarchy of relationships among individuals or entities within an organization or between organizations. This object is available in API version 66.0 and later.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
This is a standard object and is available only when you turn on the Flexible Hierarchies setting.
-
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 RupeeUSD—U.S. Dollar
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The date when this hierarchy becomes effective.
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The date until when this hiearchy remains effective.
-
Type: reference
-
Properties: Create, Filter, Group, Sort
-
Description: The hierarchy type associated with the flexible hierarchy.
This field is a relationship field.
-
Relationship Name: HierarchyTypeReference
-
Refers To: RelationshipGraphDefinition
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates if the hierarchy is active (true) or not (false).
- Default value:
false
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The most recent date when a user referenced this record.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The most recent date when a user viewed this record.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: The name of the record.
-
Type: reference
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Description: The owner of the flexible hierarchy record.
This field is a polymorphic relationship field.
-
Relationship Name: Owner
-
Refers To: Group, User
- Type: string
- Properties: Create, Filter, Group, Sort, Update
- Description: The ID of the record that’s the root of this hierarchy.
- Type: string
- Properties: Create, Filter, Group, Sort, Update
- Description: The API name of the object that’s the root of this hierarchy.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The unique identifier of this record in an external system.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The name of the external system this record was obtained from.
-
Type: picklist
-
Properties: Filter, Group, Nillable, Restricted picklist, Sort
-
Description: Specifies the current state of the hierarchy in its lifecycle.
-
Possible values:
DraftInvalidInValidationValid
- Type: textarea
- Properties: Create, Nillable, Update
- Description: The error message generated while validating the structure of this hierarchy.