Delete Orphan Records In Oe_order_headers_all Table

(Doc ID 2387053.1)

Last updated on APRIL 16, 2018

Applies to:

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

Goal

Due to some error in the Order import program, these records were created without any lines and are in closed status.
Cannot reproduce the issue.

Can a data edit script to delete all such orders which do not have any lines against them (orphan records in the table oe_order_headers_all) and are in closed status be provided ?
 

Solution

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