Versions Compared
Version | Old Version 7 | New Version 8 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Table of Contents |
---|
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:
![](https://factory42.atlassian.net/wiki/download/thumbnails/3340143872/Screenshot%20(331).png?version=1&modificationDate=1641223717235&cacheVersion=1&api=v2&width=453)
![](https://factory42.atlassian.net/wiki/download/thumbnails/3340143872/Screenshot%20(332).png?version=1&modificationDate=1641224458365&cacheVersion=1&api=v2&width=453)
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: |
Warning |
---|
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:
![](https://factory42.atlassian.net/wiki/download/thumbnails/3340143872/Screenshot%20(333).png?version=1&modificationDate=1641224430778&cacheVersion=1&api=v2&width=680)
Note |
---|
It is important for the correct calculation that the product on which the calculation is based is also in the offer. |