Support BML Scripting Before and After Pricing Engine Calculations

Oracle CPQ 24C provides the ability to associate a BML script for Pricing Engine to execute before and/or after the standard Pricing Engine calculations. Administrators now use BML scripting to add new charges, modify the price, and change certain attribute values. Before and After Pricing Engine Execution Pricing Scripts are managed in the Pricing Options module.

Administrators can now use BML scripts to set the initial values for prices, charges, or pricing attributes for subsequent processing in Pricing Engine. For example, Customer Segment can we calculated based on logic or a data table and then used as input to Pricing Engine. In addition, administrators can now also use BML to perform post-processing of Pricing Engine outputs. For example, customers could enforce the lowest floor price by using the lower of the Pricing Engine or floor price. Another benefit is that the BML processes the whole pricing document (the pricing header and all line items) as a whole. This allows the BML to batch queries. It is also useful to handle situations when one line item's price depends on another line item.

Steps to Enable

Complete the following steps to enable currency conversion in the CPQ Pricing Engine.

  1. Navigate to the Admin page.

  2. Click Pricing Portal in the Products section.

  3. Click on the Pricing Options card.

  4. Click Edit in the Scripting section.

  5. If applicable, complete the following to add a BML script to be executed before pricing execution.

  1. Set the Pricing Script: Before Pricing Engine Execution option to On.

  2. Click the Edit link.

  3. Enter your BML script.

  4. Click Save and Close.

  1. If applicable, complete the following to add a BML script to be executed after pricing execution.

  1. Set the Pricing Script: After Pricing Engine Execution option to On.

  2. Click the Edit link.

  3. Enter your BML script.

  4. Click Save and Close.

  1. Click Update.