cgcloud__Flatten_Org_Unit_Hierarchy__c

This object stores node org unit hierarchy information for the Customer Segmentation functionality. 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 

LastReferencedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: Most recent date on which a user referenced this record.

LastViewedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: Most recent date on which a user viewed this record.

Name 

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

cgcloud__Account__c 

  • Type: reference

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

  • Description: Reference to the Account that’s assigned to the org unit of the hierarchy node.

    This is a relationship field.

  • Relationship Name: cgcloud__Account__r

  • Relationship Type: Lookup

  • Refers To: Account

cgcloud__Node_Level__c 

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Reference to the level of the node in the hierarchy.

cgcloud__Org_Unit_Level_01__c 

  • Type: reference

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

  • Description: Reference to the Org Unit level hierarchy.

    This is a relationship field.

  • Relationship Name: cgcloud__Org_Unit_Level_01__r

  • Relationship Type: Lookup

  • Refers To: cgcloud__Org_Unit__c

cgcloud__Org_Unit_Level_02__c 

  • Type: reference

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

  • Description: Reference to the Org Unit level hierarchy.

    This is a relationship field.

  • Relationship Name: cgcloud__Org_Unit_Level_02__r

  • Relationship Type: Lookup

  • Refers To: cgcloud__Org_Unit__c

cgcloud__Org_Unit_Level_03__c 

  • Type: reference

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

  • Description: Reference to the Org Unit level hierarchy.

    This is a relationship field.

  • Relationship Name: cgcloud__Org_Unit_Level_03__r

  • Relationship Type: Lookup

  • Refers To: cgcloud__Org_Unit__c

cgcloud__Org_Unit_Level_04__c 

  • Type: reference

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

  • Description: Reference to the Org Unit level hierarchy.

    This is a relationship field.

  • Relationship Name: cgcloud__Org_Unit_Level_04__r

  • Relationship Type: Lookup

  • Refers To: cgcloud__Org_Unit__c

cgcloud__Org_Unit_Level_05__c 

  • Type: reference

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

  • Description: Reference to the Org Unit level hierarchy.

    This is a relationship field.

  • Relationship Name: cgcloud__Org_Unit_Level_05__r

  • Relationship Type: Lookup

  • Refers To: cgcloud__Org_Unit__c

cgcloud__Org_Unit_Level_06__c 

  • Type: reference

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

  • Description: Reference to the Org Unit level hierarchy.

    This is a relationship field.

  • Relationship Name: cgcloud__Org_Unit_Level_06__r

  • Relationship Type: Lookup

  • Refers To: cgcloud__Org_Unit__c

cgcloud__Org_Unit_Level_07__c 

  • Type: reference

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

  • Description: Reference to the Org Unit level hierarchy.

    This is a relationship field.

  • Relationship Name: cgcloud__Org_Unit_Level_07__r

  • Relationship Type: Lookup

  • Refers To: cgcloud__Org_Unit__c

cgcloud__Org_Unit__c 

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description: Reference to the Org Unit of the hierarchy node.

    This is a relationship field.

  • Relationship Name: cgcloud__Org_Unit__r

  • Relationship Type: Master-detail

  • Refers To: cgcloud__Org_Unit__c (the master object)

cgcloud__Result_Level__c 

  • Type: multipicklist

  • Properties: Create, Defaulted on create, Filter, Nillable, Restricted picklist, Update

  • Description: Defines the level from which to retrieve customers.

  • Default value: Store

  • Possible values:

    • Store
    • Trade Org

cgcloud__UpsertID__c 

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Nillable, Sort, Update
  • Description: Unique ID to upsert records from CGCloud Processing Service.

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.