Adjustment Engine
Adjustment Engine takes care of simple “Value + Adjustment” calculations. It is used to implement strategies such as Cost Plus or Price Increase.
Input Parameters
Input | Type | Description |
---|---|---|
Value | BigDecimal | Used as a base for adjustments. |
Adjustment | BigDecimal | Used as an adjustment. Can be absolute value or percentage – it depends on the mode selected in Additional Engine Configuration. For percentage based calculations the expected range is 0.0–1.0. |
Additional Engine Configuration
This engine needs an additional simple configuration Price Parameter where all Configuration Options are present as keys.
Configuration Option | Expected value | Description |
---|---|---|
Calculation Mode | “Absolute” | Result is: |
“Percentage” | Adjustment is a percentage. | |
“SellingPrice” | Adjustment is a percentage. |
Default Strategy Calculation Parameters
For Cost Plus: PRODUCT_COST,PLUS_FOR_PRODUCT
For Price Increase: BASE_PRICE,PRICE_INCREASE