SAP Knowledge Base Article - Public

3408329 - Populate involved party custom field via script

Symptom

Involved parties custom fields are not populated when creating them via script.

Environment

SAP SALES CLOUD CPQ

Reproducing the Issue

1. Set Involved parties in the tenant
2. Create business partner custom field
3. Open any quote
4. Open script workbench and run following script but adjusting the key for the selected function and custom field name.
    IP = context.Quote.AddInvolvedParty('Functionkey', 'test', '')
    IP['Customfieldname'] = '123'

Cause

Bug in the application, root cause for this issue is that CPQ doesn't loaded custom fields when involved party is created through scripting.

Resolution

Bug will be fixed in future release.

Keywords

CPQ, involved parties, script, custom field, populate, fill, create, add, bug , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error

Product

SAP CPQ 2023