Special Services from ALL Interim Stops on Itinerary Leg are Being Assigned to the Last Stop on the Shipment (Doc ID 1096959.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 6.1 to 6.1.2 - Release: 6.1 to 6.1
Information in this document applies to any platform.

Symptoms


An itinerary leg is configured to have multiple Interim Stops, using "Interim Point Option" of "Best". When these do not have a Special Service assigned, OTM correctly adds one of the stops to the shipment.

When they are assigned Special Services, it is noted that these Special Services are all being assigned to the last stop on the shipment (regardless of which interim stop they were actaully assigned to).

If, by chance, the same Special Service ID is used for different potential Interim Stops, this fails with the following Exception:

Cannot add the SHIPMENT_SPECIAL_SERVICE_REF record. [SHIPMENT_GID, SHIPMENT_SPECIAL_SERVICE_SEQ, COST_REFERENCE_GID] must be unique.
java.sql.BatchUpdateException: ORA-00001: unique constraint (GLOGOWNER.PK_SHIPMENT_SPECIAL_SERVICE_RE) violated

This is due to the fact that it is trying to assign the same Special Service to the same stop (i.e. the last one)

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