My Oracle Support Banner

How To Delete Orphaned Delivery Headers (Doc ID 726626.1)

Last updated on FEBRUARY 01, 2022

Applies to:

Oracle Shipping Execution - Version 11.5.9 to [Release 11.5 to 11.5.10]
Information in this document applies to any platform.


Since implementation of 11i  accumulated a number of "orphaned" delivery
headers. The delivery headers are  at status "Open" However there are no delivery detail lines
assigned. Run the following sql query to identify the headers.

select delivery,
from wsh.wsh_new_deliveries wnd,
wsh.wsh_delivery_assignments wda
where wnd.delivery_id = wda.delivery_id (+)
and wnd.organization_id = 21
and wnd.status_code = 'OP'
and nvl(wda.delivery_assignment_id, 0) = 0

Once the headers are identified ,then   go into the forms and simply delete them.

However this is timley process. IS there a script that will delete
these without having to delete one at a time through the forms?


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.