/
Cost Plus Strategy
Cost Plus Strategy
Deprecated. PriceIncreaseEngine of Accelerate Price Setting Package will be reworked to provide this functionality and wrap these functions.
This code enables you to calculate the cost using the cost plus strategy. For the calculation, cost and margin are required.
def baseCost = 12.5
def materialCost = 10
def laborCost = 2
def margin = 0.15
def fixedMargin = 20
def costPlus = libs.PriceListManagement.CostPlus
def calculator = costPlus.calculator(margin,baseCost,materialCost,laborCost)
def percentageBasedCost = calculator/*.percentageBased()*/.calculate() // Percentage based is default
def sellingPriceBasedCost = calculator.sellingPriceBased().calculate()
def absoluteMarginBasedCost = calculator.absoluteMarginBased().setMargin(fixedMargin).calculate()
, multiple selections available,
Related content
Recipe: Cost Plus Price Calculation
Recipe: Cost Plus Price Calculation
More like this
Cost Plus Percentage Adjustment
Cost Plus Percentage Adjustment
More like this
Strategy Designer-Cost Plus Percentage Adjustment (User Story)
Strategy Designer-Cost Plus Percentage Adjustment (User Story)
More like this
Calling Library Functions with Aliases
Calling Library Functions with Aliases
More like this
Cost Plus (Price Setting)
Cost Plus (Price Setting)
More like this