Use Apex to Define Pricing Logic (Managed Package)

For the managed package runtime, to use Apex to define pricing logic, create a class-based Calculation Procedure. The Calculation Procedure name and action class name must be the same as the name of the Apex class. (To define pricing logic without using an Apex class, create a declarative Calculation Procedure.)

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

To create a Calculation Procedure:

  1. Go to the Vlocity Calculation Procedures tab.
  2. Click New.
  3. From the Record Type of new record picklist, select Class Based.
  4. Click Continue.
  5. In the Calculation Procedure Name field, enter a name for the procedure.
  6. In the Description box, enter a brief description.
  7. Click Save.