Milestone Template Assignment Fails With Exception: "Cannot add the MONITOR_AGENT record. MONITOR_AGENT_GID must be unique" (Doc ID 1501308.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

A milestone template and object are created in a subdomain. If a user logs into the parent domain and assigns the Milestone, the BN Rule is looking up the Curvalue from the Parent's domain BN_SEQUENCE and then inserting the GID into the subdomain. As a result, the insert is failing as the curvalue retrieved already exists in the subdomain.

ERROR
-----------------------
2012-09-25 21:29:45.363 754442 Error Exception Cannot add the MONITOR_AGENT record. MONITOR_AGENT_GID must be unique.
  java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (GLOGOWNER.PK_MONITOR_AGENT) 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