cgcloud__Product_Hierarchy__c

Relation from a product (Child_Product) to its parent. This relation is time-framed. 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.

OwnerId 

  • Type: reference

  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update

  • Description: ID of the record owner.

    This is a polymorphic relationship field.

  • Relationship Name: Owner

  • Relationship Type: Lookup

  • Refers To: Group, User

cgcloud__Child_Product__c 

  • Type: reference

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

  • Description: Reference to the child product.

    This is a relationship field.

  • Relationship Name: cgcloud__Child_Product__r

  • Relationship Type: Lookup

  • Refers To: Product2

cgcloud__Parent_Product_Code__c 

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: Unique identifier of the parent product.

    This is a calculated field.

  • Formula:

    1cgcloud__Parent_Product__r.cgcloud__Consumer_Goods_Product_Code__c

cgcloud__Parent_Product_Description__c 

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: Short description of the parent product.

    This is a calculated field.

  • Formula:

    1cgcloud__Parent_Product__r.cgcloud__Short_Description__c

cgcloud__Parent_Product__c 

  • Type: reference

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

  • Description: Reference to the parent product.

    This is a relationship field.

  • Relationship Name: cgcloud__Parent_Product__r

  • Relationship Type: Lookup

  • Refers To: Product2

cgcloud__Record_Link__c 

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: Link to the detail page of the product (Child_Product) record.

    This is a calculated field.

  • Formula:

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

cgcloud__Structure_Type__c 

  • Type: picklist

  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update

  • Description: Specifies the structure type of the hierarchy.

  • Default value: Sales

  • Possible values:

    • Sales

cgcloud__Valid_From__c 

  • Type: date
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: The entry is valid from this date onwards.

cgcloud__Valid_Thru__c 

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

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.