Skip to content
Log in

Component Pricing Object Reference

On this page

Overview

Defines special pricing for component products when used in bundles. Component pricing allows you to override the standard pricebook entry pricing for a component when it is used in a specific bundle (anchor product) or in any bundle. If a component has a component pricing record for the current pricebook, its pricing is derived from the most specific match: if there is one that matches the current bundle via anchor product, that will be used; otherwise, it will use the one without an anchor product; if there is no match, it will use the pricebook entry for the component product.

Property Value
API Name s_c__Component_Pricing__c
Label Component Pricing
Plural Label Component Pricings
Type Custom Object

Fields

Field Label API Name Type Required Description
Anchor Product s_c__Anchor_Product_Id__c Lookup (Product2) No The anchor product (bundle) this pricing applies to. If specified, this pricing only applies when the component is used in this specific bundle. If left blank, this pricing applies when the component is used in any bundle. At most two component pricing records can exist for a given pricebook and component: one with an anchor product (specific bundle pricing) and one without (general bundle pricing).
Can Earn Points s_c__Can_Earn_Points__c Checkbox No If checked, customers can earn points by purchasing this component when used in a bundle.
Can Purchase With Points s_c__Can_Purchase_With_Points__c Checkbox No If checked, customers can purchase this component when used in a bundle using points instead of currency.
Component Product s_c__Component_Product_Id__c Lookup (Product2) No The component product this pricing applies to. This is the product that is used as a component in bundles.
Deposit Amount s_c__Deposit_Amount__c Currency(18,2) No If set, the user will be charged this amount as a deposit during checkout for this component when used in a bundle.
Deposit Points s_c__Deposit_Points__c Number(18,0) No If set, the user will be charged this amount of points as a deposit during checkout for this component when used in a bundle.
Earn Points Bonus s_c__Earn_Points_Bonus__c Number(18,0) No The bonus amount of points earned by purchasing this component when used in a bundle, in addition to the standard earn points amount.
Earn Points s_c__Earn_Points__c Number(18,0) No The amount of points earned by purchasing this component when used in a bundle. If blank and Can Earn Points is true, the Price Book’s Default Earn Rate will be used to calculate the number of points earned.
Enable Variable Pricing s_c__Enable_Variable_Pricing__c Checkbox No If checked, enables variable pricing for this component when used in a bundle, allowing customers to select from predefined price options or enter a custom amount.
Pricebook s_c__Pricebook_Id__c Lookup (Pricebook2) No The pricebook this component pricing applies to. Component pricing is pricebook-specific, so you can have different pricing for the same component in different pricebooks.
Purchase Points Sale s_c__Purchase_Points_Sale__c Number(18,0) No The sale amount of points required to purchase this component when used in a bundle (if on sale), if Can Purchase With Points is enabled.
Purchase Points s_c__Purchase_Points__c Number(18,0) No The amount of points required to purchase this component when used in a bundle, if Can Purchase With Points is enabled.
Sale Price s_c__Sale_Price__c Currency(18,2) No If set, this will be used as the amount users will be charged for this component when used in a bundle. If blank, the Unit Price is used. Sale price should typically be less than the unit price to indicate a discount.
Unit Price s_c__Unit_Price__c Currency(18,2) No The unit price for this component when used in a bundle. This is the base price before any sale price or discounts are applied. This field is required and must be greater than or equal to 0.
Variable Pricing Options s_c__Variable_Pricing_Options__c LongTextArea(32768) No The allowed prices if Enable Variable Pricing is enabled. This is stored as JSON text containing the pricing options available for this component when used in a bundle.

Relationships

Field Type Related Object Relationship Name
s_c__Anchor_Product_Id__c Lookup Product2 Anchor_Component_Pricing_Product
s_c__Component_Product_Id__c Lookup Product2 Component_Component_Pricing_Product
s_c__Pricebook_Id__c Lookup Pricebook2 Component_Pricings_Pricebook

Was this article helpful?

Was this article helpful?