My Oracle Support Banner

"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 JULY 20, 2024

Applies to:

Oracle Transportation Management - Version 5.5.04 and later
Information in this document applies to any platform.

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

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.