"COPY REFNUMS TO SHIPMENT" Action Failing with "java.sql.SQLException: ORA-00001: unique constraint (GLOGOWNER.PK_SHIPMENT_REFNUM) violated" (Doc ID 1122952.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 5.5.04 and later
Information in this document applies to any platform.
***Checked for relevance on 10-Nov-2013***


Symptoms


An agent is configured with the Action: COPY REFNUMS TO SHIPMENT. Two order releases on the same shipment are updated at the same time via integration with the same RefNum. Since both of these agents are triggered at the same time to copy the refnum, one of them is failing with the following Exception:

Cannot add the SHIPMENT_REFNUM record. [SHIPMENT_GID, SHIPMENT_REFNUM_QUAL_GID, SHIPMENT_REFNUM_VALUE] must be unique.
java.sql.SQLException: ORA-00001: unique constraint (GLOGOWNER.PK_SHIPMENT_REFNUM) violated

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