Loading

The QuoteSave Visualforce page

Veröffentlichungsdatum: Sep 27, 2025
Beschreibung
The QuoteSave Visualforce page is found at the top of the default Salesforce CPQ page layout for both the Quote and Quote Line objects. What is the purpose of this Visualforce page and what do the various statuses it displays mean to the end user?
Lösung
This Visualforce page's primary purpose is to inform users about the status of asynchronous calculations associated with the Quote record. It does this by looking up to the SBQQ__RecordJob__c object associated with the Quote record. The Record Job serves as a junction object between the SBQQ__Quote__c and AsyncApexJob objects. However, instead of having lookup fields, it has text fields which contain the ID's of the Quote and Apex Job. These values are used to query and display relevant information to end users about the status of asynchronous calculations associated with the Quote record being loaded.

Upon loading of the Quote record detail page, the QuoteSave Visualforce page queries for a Record Job associated with the Quote record. If no user has ever performed an asynchronous calculation on the Quote, then there will be no Record Job associated with the Quote, and the QuoteSave Visualforce page will display no information.

If a user makes an update to the Quote (or one of its Quote Lines) from outside of the Quote Line Editor, an asynchronous calculation can be started for the quote. The QuoteSave page will allow users to know if that calculation has completed, failed, or is still in progress:
  • If the calculation completes successfully, the visualforce page will not display anything.
  • If the calculation is still in the org's queue, the visualforce page will display "Recalculating... Queued".
  • If the calculation is in the act of processing, the visualforce page will display "Recalculating... Processing"
  • If the calculation failed, the visualforce page will display one of two things:
    • If the user is on the page as the calculation is finishing, the page will update to show the status message of the Apex Job failure, thus giving the user a clearer picture of the issue experienced in calculation
    • If the user was not on the page at the time of the calculation finishing, the page will display a generic error message: "Could not calculate quote prices. This quote is now in an invalid state. Recalculate your quote to render it". If you are seeing this error, please see Troubleshooting the "Invalid State" status message on the Quote/Quote Line record detail pages for more information on how to troubleshoot this error
Nummer des Knowledge-Artikels

000382305

 
Laden
Salesforce Help | Article