Calculation Procedure
Info
Method name: CalculationProcedure
Use this step to configure Calculation Procedure call. Results of the procedure will be applied to pricing variables of relevant cart items, as defined in the output of the procedure. Output variable names must match names of pricing variables so that matching can be done automatically.
Params
As parameters specify procedure name and mapping for all input variables, for each cart item the mapping will be resolved and proper values will be populated automatically:
ProcedureName
as name of enabled calculation procedure- input variable name (eg.
Source Product Code
) and source as either pricing variable or field (eg.PricebookEntry.Product2.ProductCode
). If you are referring any field which is not populated in pricing context by default, usePopulatePricingContext
step before.