My Oracle Support Banner

Unable To Cancel Order Lines Using OE_ORDER_PUB.PROCESS_ORDER API (Doc ID 2425826.1)

Last updated on JULY 19, 2020

Applies to:

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


On : 12.1.3 version,

When attempting to use API OE_ORDER_PUB.PROCESS_ORDER to cancel order lines, an error is received for every line -
"Header: The reason for this change is either not provided or invalid. (OBJECT=ORDER)'. It doesn't matter if a reason code is included as a parameter or not.

The custom constraints for line cancellation are :
1. Reason must be provided for cancellation.
2. Order Line has associated Purchase Orders Approved.

even with custom constraints disabled api does not work

nor did using cancel script from
Note 746798.1 - Script To Cancel An Existing Order Line using OE_ORDER_PUB

"Header: The reason for this change is either not provided or invalid. (OBJECT=ORDER)'


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.