Number of discount levels

In the Number of Discount Levels field of the Pricing Parameters (tdpcg0100m000) session, you can enter the number of discount levels used to calculate or recalculate discounts in the Sales Control and Purchase Control modules.

For each discount level, LN performs a discount calculation during the following order line processes, which also result in order history postings:

  • To create and update the order.
  • To update order line data.

If a change is made to an order line, a positive and negative history record is logged. If prices and discounts are recalculated, the number of updates to the order line and history postings depend on price and discount settings.

The following calculation steps, which each result in updates and history postings, can be made for an order line:

  1. Calculation of price and discount.
  2. Calculation of cumulative prices.
  3. Calculation of cumulative discounts.
  4. Calculation of total discounts for each discount level (with a maximum of five).

Therefore, to save performance and limit data growth, reduce the number of discount levels to the minimum required levels. Pay attention to the total discounts because they result in additional loggings on top of the regular ones.

Performance aspects
  • Effect on CPU: Yes
  • Effect on database growth: Not applicable