Questions tagged [cpq-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
55 views

Conflict Between Triggers on blng__Invoice__c: Billing Package vs. Custom Development

We have the Salesforce CPQ Billing package installed in our organization without any problems. Since the new Winter '24 release, we have sometimes encountered deployment errors in our org due to the ...
Badbaxx's user avatar
  • 375
0 votes
0 answers
70 views

Salesforce CPQ inside Customer Community / Ecommerce site

My client is currentlty using a third party ecommerce site for pricing/simulation, and using Salesforce CPQ separately. He would like to replace the current custom pricer/simulator by CPQ, by adding ...
CBine's user avatar
  • 1
0 votes
0 answers
45 views

CPQ Pricing Rule with custom PoT for each bundle depending on Configuration Attribute

I have many product bundles with same structure. Here i give example for four Product Bundle A Product Bundle A1 Product Bundle A2 Product Bundle A3 Product Bundle B Product Bundle B1 Product ...
Muhammad Sheheryar Afsar's user avatar
0 votes
0 answers
34 views

Billings API - runAs user doesn't work as expected

I'm doing a test class on a batch that trigger some call to the Salesforce billings API. Even if I give the good right on the running as user, I have this issue on the field blng__CreditNoteLine__c....
Badbaxx's user avatar
  • 375
0 votes
0 answers
299 views

Delete Quote Lines using CPQ Plugin

I am trying to automate deleting Quote Lines in Quote Lines Editor from Salesforce CPQ package, so when you delete manually one record, script will delete some others based on given conditions. F.e. ...
CPQ Enjoyer's user avatar
1 vote
0 answers
356 views

How to Reassign an Advanced Approvals request via Apex

I have a business requirement that when a record is submitted for approval with Advanced Approvals, to evaluate a set of criteria, and if it the criteria is satisfied, immediately reassign the ...
Jason Clark's user avatar
  • 11.8k
0 votes
0 answers
1k views

Salesforce CPQ API to create Quote and Quote Line items facing issue with calculation

Using Salesforce CPQ API to create Quote and Quote Line items. Records are created, but on Quote line items facing below error Before you can create an order, generate a document, or contract an ...
Needhi S's user avatar
  • 110
0 votes
1 answer
399 views

Percent of Total field in Salesforce CPQ

I am trying to learn Salesforce CPQ where I have two questions. I have tried to create a Percent of Total product. I have two questions here : I will have to add the Percent of Total product in the ...
Madhurima's user avatar
  • 1,265
0 votes
1 answer
1k views

Advance Approval API call for bulk records

Has anyone worked on or has idea about the calling Advance Approval APIs for bulk records? The goal is to Submit multiple records for Approval, with current SBAA.ApprovalAPI's we can call it only for ...
Pratik Lunagariya's user avatar
0 votes
0 answers
273 views

You have uncommitted work pending. Please commit or rollback before calling out in Queueable apex

I am getting the following error You have uncommitted work pending. Please commit or rollback before calling out while executing the below code global class AmendContract_Queueable implements ...
Mahamed Raheem's user avatar
2 votes
1 answer
2k views

How to add new Quote line via CPQ Custom Script

I'm writing a custom script for CPQ Calculator. I'm using the onAfterCalculate method to insert new quote lines using JSForce. export function onAfterCalculate(quote, lines, conn) { let ...
jagmohan's user avatar
  • 1,065
1 vote
1 answer
262 views

Accessing Salesforce CPQ Setting Properties In Apex

In Salesforce CPQ settings configuration page, there are some settings which are used to created records during the quoting process. For example the "Subscription Term Unit" is used to ...
Bikram Bhuyan's user avatar
2 votes
1 answer
2k views

Salesforce CPQ: Using CPQ API to Reconfigure an existing Bundle in an Amendment?

I'm using the CPQ API to build an integration with our self-service subscription portal. The intent is to allow customers to add and remove products from their existing contract via amendments, as ...
Morgan Marchese's user avatar