SAP Knowledge Base Article - Public

3622439 - Discount not allowed

Symptom

  • When trying to set discount value and save quote, banner is displayed: "Action not executed"
  • In developer console, error is thrown: "Quote-Calculate-DirtyCells"
  • Exception: SAP.CPQ.Quote.Interfaces.Exceptions.DiscountNotAllowedException

Environment

SAP CPQ

Reproducing the Issue

To reproduce this behavior, it is important to not have discount rules defined in Setup.

  1. Create a quote
  2. Add any product
  3. Set discount and trigger action save quote
  4. Error will be thrown.

Resolution

When not having discount rules, CPQ prevents the setting up of discount, working as minimum and maximum are set to 0 and override is not allowed. If you want to set discount, it is needed to define rules in Setup.

See Also

When it comes to scripting, discount rules does not apply, please verify KBA article below:

Discount exceeded through scripting even though not allowed in Setup

Keywords

Discount, Save, Quote, Rules, Exception, DiscountNotAllowedException, CPQ , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Bug Filed

Product

SAP CPQ all versions