Loading

Revenue Cloud Advanced: Browse Catalog Save Fails with “getPricingModel() is null” Error

Publish Date: Jun 1, 2026
Description

When working from a quote in Revenue Cloud Advanced, users may click Browse Catalog, select a catalog and product, and then click Save. Instead of adding the product to the quote, the following error is displayed:

“Cannot invoke 'configurator.builders.pricing.PricingModelOutputRepresentation.getId()' because the return value of 'configurator.builders.product.ProductPricesOutputRepresentation.getPricingModel()' is null.”

A related user-facing message may also appear:

“We couldn't add the product to Quote because the product doesn't have a price. Ask your Salesforce admin for help.”

This issue occurs when Browse Catalog cannot resolve a Pricing Model for the selected product during the add-to-quote flow.

The issue can occur when one or more of the following conditions are present:

  • No active Pricing Procedure is associated with the applicable Sales Transaction Context.
  • The Context Definition used by the Pricing Procedure does not match the Context Definition used in Product Discovery Settings.
  • The selected product does not have an active Price Book Entry in the Standard Price Book.
  • The selected product has a Price Book Entry, but the entry is inactive or does not have a valid price.
  • A Qualification Procedure is filtering the product, but the procedure uses a mismatched Context Definition.
  • A subscription product is missing the required subscription pricing setup.
  • Product Discovery indexed data is stale after pricing or catalog configuration changes.

This applies to Revenue Cloud Advanced on Salesforce Core in Enterprise, Performance, Unlimited, and Developer Editions on Summer ’24 and later releases, where Salesforce Pricing, Product Configurator, and Context Definitions are enabled.

Resolution

Resolve the error by reviewing the pricing, context, and price book configuration used by Browse Catalog. Complete the applicable steps below, then perform the verification steps at the end.

Cause 1: Missing or inactive Pricing Procedure for the Sales Transaction Context

  1. From Setup, go to Revenue Settings.
  2. Open Quote, Order, Pricing, and Configurator Settings.
  3. Confirm that Salesforce Pricing and Product Configurator are enabled.
  4. From Setup, open Pricing Procedures.
  5. Open the Pricing Procedure assigned to the applicable Sales Transaction Context.
  6. Confirm that the Pricing Procedure status is Active.
  7. If no Pricing Procedure is assigned, clone the seeded Pricing Procedure template for the Sales Transaction Context.
  8. Set the cloned Pricing Procedure status to Active.
  9. Assign it as the default Pricing Procedure under Setup > Revenue Settings > Set Up Salesforce Pricing.

Cause 2: Context Definition mismatch between Pricing Procedure and Product Discovery Settings

  1. From Setup, open Context Definitions.
  2. Review the Product Discovery Context and Sales Transaction Context definitions.
  3. Confirm that the applicable contexts are extended definitions and not the base, unextended definitions.
  4. From Setup, open Product Discovery Settings.
  5. Confirm that the Context Definition field uses the expected extended Product Discovery Context.
  6. From Setup, go to Revenue Settings > Set Up Salesforce Pricing.
  7. Confirm that the Default Pricing Procedure uses the matching extended Sales Transaction Context.
  8. Save the changes.
  9. Re-index the product discovery data by clicking CreateFullIndex in Product Discovery Settings.

Cause 3: Product has no active Price Book Entry in the Standard Price Book

  1. From Setup, open Object Manager.
  2. Open Product.
  3. Open the affected product record.
  4. In the Price Books related list, confirm that an active Price Book Entry exists for the Standard Price Book.
  5. Confirm that the Price Book Entry is active.
  6. Confirm that the Price Book Entry has a valid, non-null list price.
  7. If the Standard Price Book entry is missing, click Add Standard Price.
  8. Enter the list price.
  9. Select Active.
  10. Save the changes.
  11. Repeat the review for any custom price books used by the applicable pricing setup.

Cause 4: Qualification Procedure is filtering out the product or pricing context

  1. From Setup, open Product Discovery Settings.
  2. Temporarily clear the Qualification Procedure field.
  3. Save the changes.
  4. Reopen the quote.
  5. Click Browse Catalog.
  6. Select the affected product and click Save.
  7. If the product is added successfully, review the original Qualification Procedure.
  8. Confirm that the Qualification Procedure uses the same Product Discovery Context configured in Product Discovery Settings.
  9. Correct any Context Definition mismatch.
  10. Reactivate or reassign the Qualification Procedure as needed.

Cause 5: Subscription product is missing subscription pricing setup

  1. From Setup, open Object Manager.
  2. Open Product.
  3. Open the affected subscription product record.
  4. Confirm that the product has the required subscription pricing configuration.
  5. Set Subscription Pricing to Fixed Price, or to the value appropriate for the customer’s pricing model.
  6. Save the changes.

Final step: Re-index product discovery data after configuration changes

  1. From Setup, open Product Discovery Settings.
  2. Turn off Use Indexed Data for Product Listing and Search.
  3. Click Save.
  4. Turn Use Indexed Data for Product Listing and Search back on.
  5. Click CreateFullIndex.

Verification:

  1. Open the original quote.
  2. Click Browse Catalog.
  3. Select the catalog and the previously failing product.
  4. Click Save.
  5. Confirm that the product is added to the quote without the “getPricingModel() is null” error.
  6. Confirm that the quote line has the expected price.

If the product is added successfully and pricing is populated on the quote line, the issue is resolved.

Additional Resources

Salesforce Pricing

Knowledge Article Number

005385170

 
Loading
Salesforce Help | Article