Order Release Inbound Interface Command RemoveShipmentRefForRC Not Working For Line Deletes
Last updated on SEPTEMBER 05, 2017
Applies to:Oracle Transportation Management - Version 6.3.3 to 6.3.6 [Release 6.3]
Information in this document applies to any platform.
IntCommandName: RemoveShipmentRefForRC tries to delete ship_unit_line before removing (null-out) the foreign keys on the s_ship_unit_line tables.
Therefore the following error is occurred as unexpected and doesn't work fine.
-- Error Message:
2014-09-01 11:37:40.882 441936 Error Exception delete from ship_unit_line where ship_unit_gid=? and ship_unit_line_no=?; [CWNA.A158449, 2]
Cannot delete the SHIP_UNIT_LINE record. A S_SHIP_UNIT_LINE record references it in its [SHIP_UNIT_GID, SHIP_UNIT_LINE_NO] column.
java.sql.SQLIntegrityConstraintViolationException: ORA-02292: integrity constraint (GLOGOWNER.FK_SSUL_SHIP_UNIT_LINE) violated - child record found
-- Expected Behavior/Solution:
Fix the process of the command RemoveShipmentRefForRC.
1. Create a Order Release via XML with 2 lines and 1 Ship Unit
2. Plan the Order Release on Shipment
3 Get a Release Update via XML with only 1 line on the same ship Unit
4. Check Transmission for Errors.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms