My Oracle Support Banner

Creating New Order Line While Also Cancelling Another Order Line On Same Order Simultaneroulsy Using Process Order API Causing Order To Close As New Order Line Is Not Seen (Doc ID 2022432.1)

Last updated on JANUARY 31, 2022

Applies to:

Oracle Order Management - Version 12.2.4 and later
Information in this document applies to any platform.



Using Process Order API to cancel an order line and create a new line in an already existing order simultaneously.

Workflow process is seeded where the workflow process CLOSE_WAIT_FOR_L' moves to the last day of the month and if it finds any open lines then the workflow will remain at CLOSE_WAIT_FOR_L Notified
till all lines are closed.  The issue arises when an order which has 1 open line and has passed the last day of month, for example,  30-Aprl- 2015.

On May 27th , line 1.1 is cancelled and at the same time line 2.1 is created using Process Order API.
In Rel 12i the Order header will get closed , Line 2.1 will be created in Awaiting_shipping status and Line 1.1 will be cancelled.
Whereas in R11i , the Order header does not close with same scenario.

Expect Order header to remain open as long as there exists open order lines when using the Process Order API to cancel and create lines simultaneously.


The issue can be reproduced at will with the following steps:

1. Responsibility: Order Management Super User
2. Navigate: Orders Workbench, Order Organizer > Query Order with 1 open line >
3. Order header has passed last day of the month >
4,Use process order API to cancel order line and create new line.




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.