Copying Order to Existing Order Creates Exponential Number of Order Lines
Last updated on MARCH 08, 2017
Applies to:Oracle Order Management - Version 12.1.3 and later
Information in this document applies to any platform.
On : 12.1.3 version, Transaction Entry
When selecting multiple order lines and attempting to create multiple copies, the field is greyed out.
When in the order header, the copy function allows the number of copes field to be edited and the "existing order" radio button can be selected to copy the lines to the same sales order.
However, when these options are used in combination with each other, the logic creates more lines than expected. The number of lines created ends up being as follows:
(number of existing lines) times 2 to the POWER of (number of copies)
instead of the expected
(number of existing lines) times (number of copies)
This is because the logic performs the copy actions sequentially, taking into account the new lines with each iteration. So, if the order starts out with four lines, it copies the first time into the same order and the order now has 8 lines. It then copies again and the 8 lines become 16 lines. The third time it copies, the 16 lines become 32 lines, and so on...
STEPS TO REPRODUCE
The issue can be reproduced at will with the following steps:
1. Order Management responsibility
2. Navigation: Order Organizer>Query order
3. Copy order per above sequence
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