My Oracle Support Banner

Attempting to Delete an Order Release with Child Data "ORS_STATUS_HISTORY_SU" Results in Error: "Cannot delete the SHIP_UNIT record. A ORS_STATUS_HISTORY_SU record references it in its [SHIP_UNIT_GID] column." (Doc ID 2125134.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.0 to 6.4.2 [Release 6 to 6.4]
Information in this document applies to any platform.

Symptoms

An Order Release is created that includes data in the Child Table: ORS_STATUS_HISTORY_SU. When the Order Release is attempted to be deleted, the following error occurs as this child data is not being removed first:

Cannot delete the SHIP_UNIT record. A ORS_STATUS_HISTORY_SU record references it in its [SHIP_UNIT_GID] column.
  java.sql.BatchUpdateException: ORA-02292: integrity constraint (GLOGOWNER.FK_OSHS_SHIP_UNIT_GID) violated - child record found

Cause

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
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.