Lumpsum Discount For Group Of Lines Gets Re-priced Wrongly During Order Import (Doc ID 2160533.1)

Last updated on AUGUST 31, 2016

Applies to:

Oracle Advanced Pricing - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Modifiers Setup only

ACTUAL BEHAVIOR
---------------
Lumpsum discount for group of lines gets re-priced incorrectly during order import

The scenario is as follows.
1. There is a discount modifier of type lumpsum applied at group of lines level and is set as automatic.
2. We use it to calculate price using pricing engine without entering order into Order Management forms,
    here the modifier works fine gives the defined amount of discount over the complete order.
3. Later while importing the order we set calculate_price_flag as 'P' (because we want to calculate taxes
    on the order using order import) and put record on interface tables, both lines and adjustments.
4. But while importing the order using order import, program re-calculates this discount and basically 
    stamps the lumpsum discount amount on each line (rather than distributing the lumpsum discount over all the lines on the order).

EXPECTED BEHAVIOR
-----------------------
Expect lumpsum to remain the same.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Order Order Management Super User
2. Populate interface tables
3. Requests - Order Import
4. Set calculate_price_flag as 'P' (because we want to calculate taxes on the order using order import) and put record on interface tables, both lines and adjustments.
5. But while importing the order using order import, program re-calculates this discount and basically stamps the lumpsum discount amount on each line
    (rather than distributing the lumpsum discount over all the lines on the order).



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms