You are here:
Pricing Service Implementations and Pricing Fields
Using a pricing plan is recommended, but pricing service implementations are supported for backward compatibility. The Pricing Interface includes two implementations based on pricing elements (as opposed to price books): PricingElementServiceImplementation and PricingPlanService.
PricingElementServiceImplementation is functionally the same as PricingPlanService, but PricingPlanService has exposed the pricing process as a series of modular steps that can be configured using pricing plans in Vlocity Product Console. The following table describes the pricing fields and pricing variables available.
Field |
API Name |
Description |
Pricing Variable |
|---|---|---|---|
One Time Charge |
vlocity_cmt__OneTimeCharge__c |
Holds the final calculated non-recurring charge after adjustments. Changes according to overrides and adjustments. |
OT_STD_PRC |
One Time Manual Discount |
vlocity_cmt__OneTimeManualDiscount__c |
Holds the value of a manually entered discount percent applied against the One Time Charge. This field does not appear in the CPQ user interface, so the value should be 0.0. |
OT_STD_PRC_DISC_PCT_MAN |
One Time Calculated Price |
vlocity_cmt__OneTimeCalculatedPrice__c |
Holds the value of the One Time Charge discounted by the One Time Manual Discount, if present. OT_STD_PRC_CALC = OT_STD_PRC - (OT_STD_PRC * OT_STD_PRC_DISC_PCT_MAN / 100) |
OT_STD_PRC_CALC |
One Time Total |
vlocity_cmt__OneTimeTotal__c |
Holds the total non-recurring charge, including rollups of the children One Time Totals, multiplied by the line's quantity. OT_STD_PRC_TOTAL = (OT_STD_PRC_CALC + ROLLUP_OT_STD_PRC_TOTAL) * LINE_QUANTITY ROLLUP_OT_STD_PRC_TOTAL is not bound to any field. It is calculated in memory. |
OT_STD_PRC_TOTAL |
Effective One Time Total |
vlocity_cmt__EffectiveOneTimeTotal__c |
Calculated only for the root. The value is the same as the OT_STD_PRC_TOTAL of the root item. For items that are not root items, this field value is 0.0. The field participates in the rollup summary field in the header—Effective Total: One Time Charges. |
EFF_OT_STD_PRC_TOTAL |
Recurring Charge |
vlocity_cmt__RecurringCharge__c |
Holds the final calculated monthly recurring charge after adjustments. Changed based on overrides and adjustments. |
REC_MNTH_STD_PRC |
Recurring Manual Discount |
vlocity_cmt__RecurringManualDiscount__c |
Holds the value of a manually entered discount percent to be applied against the Recurring Charge. This field does not appear in the CPQ user interface, so the value should be 0.0. |
REC_MNTH_STD_PRC_DISC_PCT_MAN |
Recurring Calculated Price |
vlocity_cmt__RecurringCalculatedPrice__c |
Holds the value of the Recurring Charge discounted by the Recurring Manual Discount, if present. REC_MNTH_STD_PRC_CALC = REC_MNTH_STD_PRC - (REC_MNTH_STD_PRC * REC_MNTH_STD_PRC_DISC_PCT_MAN / 100) |
REC_MNTH_STD_PRC_CALC |
Recurring Total |
vlocity_cmt__RecurringTotal__c |
Holds the monthly recurring charge, including rollups of the children monthly recurring totals and multiplied by the line's quality. REC_MNTH_STD_PRC_TOTAL = (REC_MNTH_STD_PRC_CALC + ROLLUP_REC_MNTH_STD_PRC_TOTAL) * LINE_QUANTITY REC_MNTH_STD_PRC_TOTAL is not bound to any field. It is calculated in memory. |
REC_MNTH_STD_PRC_TOTAL |
Effective Recurring Total |
vlocity_cmt__EffectiveRecurringTotal__c |
Calculated only for the root. The value is the same as the REC_MNTH_STD_PRC_TOTAL of the root item. For items that are not root items, this field value is 0.0. The field participates in the rollup summary field in the header—Effective Total: Monthly Charges. |
EFF_REC_MNTH_STD_PRC_TOTAL |
Quantity |
Quantity |
Line item quantity. |
LINE_QUALITY |
Effective Quantity |
vlocity_cmt__EffectiveQuantity__c |
The effective line item quantity. For items that aren't root items, the calculation is EFFECTIVE_QUANTITY = parentItemEffectiveQty * LINE_QUANTITY. For root items, the calculation is EFFECTIVE_QUANTITY = LINE_QUANTITY. |
EFFECTIVE_QUANTITY |

