Pricecalculation from Product
Introduction
With the product property "Pricecalculation from product" it is possible to calculate a price depending on the list price of another product.
Create a new product property of the record type "Pricecalculation from product". The mask for configuring the product property opens:
In this example, the list price for the Support GenWatt Gasoline 300kW product is calculated as 30% of the list price of the GenWatt Gasoline 300kW product.
Configuration
The following fields must be filled in for the "Pricecalculation from product" product property:
Field Name | API-Name | Function | Example |
---|---|---|---|
Product Property | Name | Name of the product property. | Support 30% |
Order | sf42_quotefx__SF42_CalcOrder__c | Optional, determines the query order for multiple product properties of a record type for a product. | |
Product | sf42_quotefx__SF42_Product__c | Sets the product to whose list price the product property is applied. | Support GenWatt Gasoline 300kW Price book entry 0,00 € |
Product Group | sf42_quotefx__SF42_Product_Group__c | As an alternative to the "Product" category, the price calculation can also refer to products of a product group | |
secondary Product Group | sf42_quotefx__SF42_Product_Group_2__c | Indicates the child product group, if applicable. Important: The product property only applies to products that have exactly this combination of parent and child product group. | |
Source Product for Pricing | sf42_quotefx__SF42_SourceProduct__c | Defines the product from whose list price the markup or markdown is calculated. This must also be in the offer for the calculation to take effect. | GenWatt Gasoline 300kW Price book entry 35.000 € |
Operator (+/=) | sf42_quotefx__SF42_calc_Operator__c | The + and - operators can be used to define a markup or markdown. The = operator overwrites the list price with the newly calculated value. | + |
Value Type (%) | sf42_quotefx__SF42_calc_ValueType__c | For this product property, only the % type is useful. | % |
Calculation Value | sf42_quotefx__SF42_calc_Value__c | Specifies the percentage value. | 30 |
Calculation: |
The calculation logic of appero quote prohibits a chaining of this product property, i.e. the configuration of a price calculation from product with reference to products that are also based on a price calculation from product, as well as circular configurations. Such chaining may lead to incorrect calculation results.
Display in the quote editor
In the quote, the value calculated via the product property is immediately output as the list price:
It is important for the correct calculation that the product on which the calculation is based is also in the offer.