cgcloud__Org_Unit_Hierarchy__c

Stores the details of the relationship between two org units. It’s typically used for the sales org unit hierarchy. This object is available in API version 54.0 and later.

Supported Calls 

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

Fields 

Name 

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

cgcloud__Child_Org_Level__c 

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: Child Org Level.

    This is a calculated field.

  • Formula:

    1TEXT(cgcloud__Child_Org_Unit__r.cgcloud__Org_Level__c)

cgcloud__Child_Org_Type__c 

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: Child Org Type.

    This is a calculated field.

  • Formula:

    1TEXT(cgcloud__Child_Org_Unit__r.cgcloud__Org_Type__c)

cgcloud__Child_Org_Unit__c 

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description: Reference to a child org unit in an org unit hierarchy.

    This is a relationship field.

  • Relationship Name: cgcloud__Child_Org_Unit__r

  • Relationship Type: Master-detail

  • Refers To: cgcloud__Org_Unit__c (the master object)

cgcloud__Description__c 

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: Description based on the user specific language.

    This is a calculated field.

  • Formula:

    1cgcloud__Parent_Org_Unit__r.cgcloud__Description__c

cgcloud__Parent_Org_Level__c 

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: Parent Org Level.

    This is a calculated field.

  • Formula:

    1TEXT(cgcloud__Parent_Org_Unit__r.cgcloud__Org_Level__c)

cgcloud__Parent_Org_Type__c 

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: Parent Org Type.

    This is a calculated field.

  • Formula:

    1TEXT(cgcloud__Parent_Org_Unit__r.cgcloud__Org_Type__c)

cgcloud__Parent_Org_Unit__c 

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: Reference to the parent org unit in an org unit hierachy.

    This is a relationship field.

  • Relationship Name: cgcloud__Parent_Org_Unit__r

  • Relationship Type: Lookup

  • Refers To: cgcloud__Org_Unit__c

cgcloud__Record_Link__c 

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: Hyperlink to the detail page of the record.

    This is a calculated field.

  • Formula:

    1HYPERLINK("/" &Id, $Label.cgcloud__record_link, "_top")

cgcloud__Valid_From__c 

  • Type: date
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Date from which the entry is valid.

cgcloud__Valid_Thru__c 

  • Type: date
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Date until which the entry is valid.

Associated Objects 

Associated Objects 

This object has these associated objects. If the API version isn’t specified, they are available in the same API versions as this object. Otherwise, they are available in the specified API version and later.