"Cannot delete the ORDER_RELEASE_LINE record" Error When Running Agent Action "ORDER RELEASE - MOD -PROPAGATE" On Release with Order Movements (Doc ID 854314.1)

Last updated on JULY 11, 2012

Applies to:

Oracle Transportation Management - Version 5.5.05.04 and later
Information in this document applies to any platform.
***Checked for relevance on 10-Jun-2011***


Symptoms

-- Problem Statement:

Attempting to delete (through integration) a Line from an Order Release which has created Order Movements, produces the following error:

glog.util.exception.RemoveExceptionWrapper Cannot delete the ORDER_RELEASE_LINE record. A
S_SHIP_UNIT_LINE record references it in its [OR_LINE_GID] column. java.sql.SQLException:
ORA-02292: integrity constraint (GLOGOWNER.FK_SSUL_ORL_GID) violated - child record found

The action of delete is attempted via an agent with action of Order Release - Mod - Propagate Changes

-- Steps To Reproduce:
1. Define an Order Release agent (Has the action : ORDER RELEASE - MOD -PROPAGATE CHANGES, with  "Propagate Ship Unit Quantities" box checked)
2. Use an Order Release which has created Order Movements
3. Upload an integration XML file to OTM to update the Order Release which will effectively remove a Line.



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