Newer Version Available

This content describes an older version of this product. View Latest

ProductRelatedComponent

Represents a product that is included in a product bundle or set. This object is available in API version 57.0 and later.

Supported Calls

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

Special Access Rules

This object is available when B2B Commerce, B2C Commerce, or Industries Automotive is enabled.

Fields

Details
ChildProductId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The unique identifier of the associated product.
This field is a relationship field. In a bundle relationship, this item is the child product.
Relationship Name
ChildProduct
Relationship Type
Lookup
Refers To
Product2
ChildProductRole
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
The position of the associated product in the relationship.
Possible values are:
  • BundleComponent—The child product is a component in a bundle.
  • SetComponent—The child product is a component in a set.
ChildSellingModelId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The unique identifier of the associated product’s sales model.
This field is a relationship field.
Relationship Name
ChildSellingModel
Relationship Type
Lookup
Refers To
ProductSellingModel
DoesBundlePriceIncludeChild
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether the bundle price includes the associated product’s price.
IsComponentRequired
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether the associated product is required for configuring a bundle or set.
The default value is false.
IsDefaultComponent
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether the associated product is part of the product bundle or set automatically, or can be added after the bundle’s or set’s creation.
The default value is false.
IsQuantityEditable
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether you can edit the component’s quantity in the bundle or set after the bundle’s or set’s creation.
The default value is false.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last accessed this record, a record related to this record, or a list view.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last viewed this record or list view. If this value is null, the user might have only accessed this record or list view (LastReferencedDate) but not viewed it.
MaxQuantity
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The associated product’s allowed maximum quantity.
MinQuantity
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The associated product’s allowed minimum quantity.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
The name of the associated product.
ParentProductId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The unique identifier of the main product around which the bundle or set is built.
This field is a relationship field.
Relationship Name
ParentProduct
Relationship Type
Lookup
Refers To
Product2
ParentProductRole
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
Indicates the position of the main product in the relationship.
Possible values are:
  • Bundle—The main product is the bundle parent.
  • Set— The main product is the set parent.
ParentSellingModelId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort
Description
The unique identifier of the main product’s sales model.
This field is a relationship field.
Relationship Name
ParentSellingModel
Relationship Type
Lookup
Refers To
ProductSellingModel
ProductComponentGroupId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The unique identifier of the group of a product bundle or set. This group contains the associated products that can be included in the main product’s bundle or set.
This field is a relationship field.
Relationship Name
ProductComponentGroup
Relationship Type
Lookup
Refers To
ProductComponentGroup
ProductRelationshipTypeId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The unique identifier of the record that describes the relationship between the main and associated products.
This field is a relationship field.
Relationship Name
ProductRelationshipType
Relationship Type
Lookup
Refers To
ProductRelationshipType
Quantity
Type
double
Properties
Create, Defaulted on create, Filter, Nillable, Sort, Update
Description
The unit count of the associated product.
QuantityScaleMethod
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The scaling method used to calculate the associated product’s quantity based on changes made to the main product’s quantity in a transaction.
Possible values are:
  • Constant — The associated product’s quantity remains the same in relation to the main product’s quantity. For example, the main product has a quantity of one and the associated component has a quantity of one. If you increase the quantity of the main product to two, the associated component’s quantity remains at one.
  • Proportional — The associated product’s quantity increases or decreases based on the main product’s quantity. For example, the main component has a quantity of one and the associated product has a quantity of two. If you increase the quantity of the main product to two, the associated product’s quantity increases to four.
The default value is Proportional.
Sequence
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Determines the arrangement of the order products when configuring a bundle or set.