Order Header Status Is CLOSED But Exist Open Lines Associated To This Header (Doc ID 2022432.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

On : 12.2.4 version, Transaction Fulfillment

ACTUAL BEHAVIOR
---------------

Customer is using process order API to Cancel an order line and create a new line in an already existing order at the same time.
The issue is as follows.
They have a seeded scenario where the workflow process CLOSE_WAIT_FOR_L' moves to the last day of the month and if it finds any open line then the workflow will remain at CLOSE_WAIT_FOR_L Notified till all lines are closed.
Now suppose they have an order which has 1 open line and has passed last day of month 30-Aprl- 2015
On May 27th they cancelled Line 1.1 and created 2.1 at the same time 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 Order header does not close with same scenario

EXPECTED BEHAVIOR
-----------------------
Expect Order header to remain open with open lines

STEPS
-----------------------
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.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot add line to existing 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