SAP Knowledge Base Article - Public

2647439 - How To Add A New Role To Existing Customer Quotes

Symptom

You want to update existing Sales Quotes with newly created Party Roles for which you maintained determination rules.

Environment

SAP Hybris Cloud for Customer

Reproducing the Issue

You have existing Sales Quotes, you have created a new, active party role ABC (ABC represents the party role) for Sales Quotes and you maintained rules for this role. You now want to trigger this rule using a dummy change on the dummy field 123 (123 represents the name of the field) and and OData run. However, the rule is not triggered and only existing roles are being updated.

Cause

The rule does not include the dummy field and is not being triggered.

Resolution

Step 1:
Add the field 123 for which you intend to make a dummy change in order to trigger the rule which is set to add the previously not existing rule to your Sales Quote Party Routing rules, so that the field actually triggers the rule.

  1. Go to the Administrator work center.
  2. Open the Sales and Campaign settings view.
  3. Click the Define Rules for Sales Quote Parties link.
  4. Click Adapt > Edit Master Layout > Edit Columns.
  5. Add the field 123 to your rules and maintain the rule as needed.
  6. Save and activate the rules.

Step 2:

Check if the dummy field is available in the standard DWB template for Sales Quotes. If it is NOT available, create a custom OData Service.

  1. Go to the Administration work centre.
  2. Go to the Odata Service Explorer view.
  3. Select the query for Custom Odata Services.
  4. Click New.
  5. Give the Service a name.
  6. Select the checkbox for Data Workbench Enabled.
  7. Select the Business Object > CustomerQuote > OK.
    Make sure that the field 123 is available and trigger the role through the run.

Keywords

Sales Quote, Party Role Determination, new role, add, DWB , KBA , LOD-LE-CQP , Customer Quote Processing , Problem

Product

SAP Cloud for Customer add-ins 1805