PSP_EngineCalculationConfig PP

Colum Name

Values

Description

Colum Name

Values

Description

Calculation Engine Path

  • {name of the predefined engine} or

  • {path to the function in groovyLibrary which will perform calculations}

To learn about the built-in pricing engines, see Price Strategies.

Path should look like this:
"libs.MyLib.MyElement.myFunction"

Engine Calculation Parameters

{list of parameter names which are sent to calculation}

Default parameters are:

  • SKU

  • TARGET_DATE

  • PRODUCT_COST

  • BASE_PRICE

  • LOOKUP_KEYS

  • PLUS_FOR_PRODUCT

  • COMPETITION_PRICES

  • MINIMUM_MARGIN_PRICE

  • PRICE_INCREASE

  • DEPENDENCY_INFORMATION_VALUES

  • BOM_LIST

  • DISCOUNTS

If additional parameters are necessary, they need to be added from the code to the CalculatedPrices element in the "additionalParameters" map.

 The parameters are passed as an input to engines, so the order is important and should not be changed for default engines.

Â