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

Field Details
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
cgcloud__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
cgcloud__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
HYPERLINK("/" &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.
Possible values are:
  • Sales
The default value is 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

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.

cgcloud__Product_Hierarchy__cChangeEvent
Change events are available for the object.
cgcloud__Product_Hierarchy__cFeed
Feed tracking is available for the object.
cgcloud__Product_Hierarchy__cHistory
History is available for the tracked fields of the object.
cgcloud__Product_Hierarchy__cOwnerSharingRule
Sharing rules are available for the object.
cgcloud__Product_Hierarchy__cShare
Sharing is available for the object.