Siebel Pricing Administration Guide > Pricing in the Run-Time Application > Spread Discount Pricing >

Displaying a Warning if the Exact Discount Cannot Be Spread


In some cases, the spread discount algorithm might not be able to spread exact total discount over the line items. In this case, it adjusts the total so it can be spread over the line items.

There are two reasons why it might be impossible to spread the discount:

  • Decimal remainder inaccuracy. For example, the total discount might be $100. After the spread discount process is run, the total might be adjusted to $100.02, because the process rounds prices to the nearest cent.

Maximum or minimum prices. For example, the products that the discount is applied to might have minimum prices that are so high that it is impossible to apply the entire discount to them. By default, the Siebel application does not display a message telling the user that the total has been adjusted.

You can set up the application to display an error message if the total is adjusted.

  • If there is a decimal remainder inaccuracy, it displays the message, "Discount cannot be spread completely. Remainder of [Currency Code] [OverflowAmount] will be added to total. This inaccuracy can be improved by increasing the number of line items or decreasing the Quantity of each line item."
  • If there is an issue with minimum of maximum prices, it displays the message, "Discount cannot be spread completely. Remainder of [Currency Code] [OverflowAmount] will be added to total. All items have reached their minimum or maximum prices."

The user can either accept the adjustment or cancel it and change the records to make it possible to spread the exact discount.

To display a warning if the exact discount cannot be spread

  1. In Siebel Tools, query for the business service ISS Spread Discount Service.
  2. Change the value of the business service user property Suppress Inaccuracy Warnings to N.

    NOTE:  The default value is Y.

  3. Compile the changes to the srf file, and restart the server

Siebel Pricing Administration Guide Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.