cancel
Showing results for 
Search instead for 
Did you mean: 

Prefill Quote Custom Field based on Autocomplete attribute (SAP CPQ)

thomasvl
Member
0 Kudos
296

I have created a quote custom field and linked it to an autocomplete attribute sourced from a custom table.
In this attribute I am using the preselection filter.

Now, I was wondering if it would be possible to have the custom field preselected when there is only 1 valid entry for the active user after filtering. In other words, when the user doesn't have to make a choice I want the custom field to be already filled with the filtered value.

View Entire Topic
Fancy_Zou
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You may use the IronPython scripting to achieve the target.

  • To identify whether there is only 1 valid entry of the custom field, you may need to repeat the filter logic in the runtime processing.
  • The value assignment for a custom field reference to an autocomplete attribute is pretty much the same to a normal custom field.

Best Regards

Fancy