A pricing macro is a reusable object that allows you to apply a calculation formula. A pricing macro is similar to a price plan because it is built with the same components. Pricing macros are objects that you can reuse in price plans, costs, or even in pricing macros.
Like a price plan, a pricing macro is a group of components that:
Apply to properties
Are represented in the software as a rating tree
A pricing macro replaces a section of a rating tree that is used in one or more price plans or costs.
As a pricing macro cannot be inserted in a price plan, you need to insert components such as a macro function or macro operator in a price plan to reuse an existing pricing macro.
The macro function allows you:
To select the pricing macro to be used
To provide the values to the Rating Context Properties that the pricing macro needs to make calculations
The macro operator allows you:
To select the pricing macro to be used
To provide the values to the Rating Context Properties that the pricing macro needs to make calculations
To retrieve the calculation results from the Generated Properties of the pricing macro