Create an Attribute Pricing Procedure for the Billing Zip Code

In this task, Felix needs to create an attribute pricing procedure so that product pricing is calculated based on the Billing Zip Code attribute pricing matrix.

  1. Navigate to the Vlocity Calculation Procedures tab. You may need to click the More dropdown menu to expand for additional tabs.

  2. Click New.

  3. On the New Vlocity Calculation Procedure dialog box, select Declarative as the record type and click Next.

  4. Type BillingZipCodeAttributePricingProcedure for the Calculation Procedure Name and click Save.

  5. Click the Related tab, select BillingZipCodeAttributePricingProcedure v1.

  6. In the Variables and Constants section of the Pricing Calculation, click Add Variable.

  7. Enter the following:

    FieldEntry
    NameREC_MNTH_STD_PRC
    Data TypeCurrency
  8. Click Add Variable to add the next variable.

    FieldEntry
    NameOT_STD_PRC
    Data TypeCurrency

  9. Scroll to the Calculation Steps section of the Pricing Calculation.

  10. Click Add Step.

  11. Select the Matrix Lookup radio button.

  12. In the Matrix Name field, type Billing.

  13. Select BillingZipCodeAttributePricingMatrix.

  14. Check the box Include in Calculation Output.

  15. Notice the variables added to the Variables and Constants section of the procedure.

  16. Click Add Step to add another Calculation Step.

  17. Select the Calculation radio button.

  18. Type MRC in the first box and select MRC (BillingZipCodeAttributePricingMatrix).

  19. Type REC in the second box and select REC_MNTH_STD_PRC.

  20. Check the box Include in Calculation Output.

  21. Click Add Step to add another calculation step.

  22. Select the Calculation radio button.

  23. Type NRC in the first box and select NRC (BillingZipCodeAttributePricingMatrix).

  24. Type OT in the second box and select OT_STD_PRC.

  25. Check the box Include in Calculation Output.

  26. Click Save Calculation Procedure.

  27. Click OK to the message that the save was successful.

  28. Scroll to the top of the page and click the Edit button in the header.

  29. Check the Enabled box and Save.

See Create a Custom Pricing Plan Step for the Billing Zip Code.