Symptom
When attempting to create an Involved Party on Quote Level without syncing first, and having Allow adding business partners on quotes without creating them first in Setup set to True, error is thrown in Event Log informing that resource was not found and Involved Party is not created.
Environment
SAP Sales Cloud CPQ Integrated with SAP Cloud for Customer
Reproducing the Issue
- On CPQ, set Allow adding business partners on quotes without creating them first in Setup to True
- On C4C, create an opportunity and add to it an Involved Party, with ExternalID, that do not exist in CPQ
- Create a CPQ Quote
- Check Event log for the following error: "The Requested Resource is not found"
- Open Quote and verify that Involved Party was not created.
Cause
Non existing ExternalID/BusinessPartnerId/PartnerId being passed in the payload, causing CPQ to not find matching BP.
Resolution
- Integration works in the following way:
- First it is checked involvedParty.BusinessPartnerId, if it is provided, it gets business partner by ID
- Then it checks involvedParty.PartnerId and if it is provided it will get business partner by partnerID
- Then it checks for involvedParty.ExternalId and if it is provided it gets business partner by externalID
- If nothing is provided in payload(businessPartnerId, PartnerId or ExternalID) and parameter Allow adding business partners on quotes without creating them first in Setup is TRUE, CPQ will create new involved party directly on quote
- In order to avoid the issue:
- It should not be passed an Id, in case BP is created on Opportunity/Quote Level
- In case it is intended to pass an Id, BP information should be first synced with CPQ.
See Also
Keywords
Integration, Business Partner, Involved Party, C4C, Resource not found, CPQ , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Bug Filed
Product
SAP CPQ 2024