My Oracle Support Banner

"ORA-01400" Exception When Creating a Location through Integration using II Transaction Code and not Passing Location GID (Doc ID 2856898.1)

Last updated on MAY 09, 2022

Applies to:

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


When creating a location through integration without explicitly defining a location GID, the default BN Rule for location LOCATION_XID_WITH_CORP.DEFAULT is not used and results in attempting to create a location with a null GID and the below error. It is worth noting that the transaction code used to create the location is II (insert or ignore).



It is expected to be able to create the location using the BN rule for the location ID through integration.


The issue can be reproduced with the following steps:

1. Using a transaction code of II for the location, upload a XML to OTM that will create a new location. Ensure that there is no LocationGid element in the XML so that the BN Rule in OTM can be used
2. The transmission will fail with the above exception



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

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