The out of the box button tries to load the content of the PDF into the Salesforce platform, which can lead to governor limits at high volumes.
As per the current Apex Governor Limits the maximum Heap size is 6000000. But in our scenario when we are generating Pdf Heap Size reached 6451849.
Instead, you can use "Generate quotes document" REST API call to generate a Quote document for a high-volume Quote. The URL of the generated Quote document will be returned for a successful call.
See the documentation below: https://www.zuora.com/developer/api-reference/#tag/Quotes-Document
... View more
We can achieve this by making the Field level security as Read Only.
In this exmple we are showing how to make "Effective Price" as readonly.
1.Go to the users profile and search for the Quote Rate plan charge object under Field-Level Security section. 2. Click on view to see the FLS. 3.Click edit and remove the Edit Access permission to Effective Price field . Make sure Read only permission is enabled.
Please make sure the System permission Edit Read Only Fields is not checked for the particular profile to which we want this field to be readonly. If the above permission is enabled for the profile eventhough we set FLS as readonly this setting will ovrride the access and the users can edit the field.
The user that belongs to this profile, will not be able to edit "Effective Price" field during quoting process as shown in below screen shot.
... View more