SAP Knowledge Base Article - Public

3661502 - Involved party change event is not working as expected

Symptom

  • If we have a script that is attached to the involved parties change event that prints the current involved parties on the quote.
  • When we go to some quote and remove the business partner from the involved party, which triggers this event, we can notice in the developer console that the values for that partner function are not populated.

Environment

SAP Sales Cloud CPQ

Reproducing the Issue

When we remove a business partner from the involved party, the partner's function data is still displayed in the developer console if such script is used:
 

for BusinessPartner in context.Quote.GetInvolvedParties():

    Trace.Write("""

        partner function key {}

        partner id {}

        PartnerFunctionName {}

    """.format(

        BusinessPartner.PartnerFunctionKey,

        BusinessPartner.PartnerId,

        BusinessPartner.PartnerFunctionName

    ))

 

Cause

  • Bug in application.

  • This is happening because we are clearing the partner function values from the involved party when the business partner is removed.

Resolution

The issue will be fixed in CPQ-2511 release.

See Also

3487591 - Known Issues in SAP CPQ

Keywords

CPQ, involved parties, business partner, change event, script, developer console, quote , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem

Product

SAP CPQ all versions