Inbound Country Code Expecting Both 2 And 3 Digit Country Codes When Xml Schema Validation Is On
(Doc ID 2676600.1)
Last updated on JUNE 07, 2020
Applies to:
Oracle Global Trade Management Cloud Service - Version 20.2 and laterInformation in this document applies to any platform.
Symptoms
CountryOfOrgin Structure Error For GtmTransactionLine
Turn on optional feature "Xml Schema Validation".
On processing "Gtm Transaction" Inbound XML with below structure for country of origin, system throws an error
<gtm:CountryOfOrigin>
<otm:CountryCode3Gid>
<otm:Gid>
<otm:DomainName>PUBLIC</otm:DomainName>
<otm:Xid>THA</otm:Xid>
</otm:Gid>
</otm:CountryCode3Gid>
<otm:CountryCode2>TH</otm:CountryCode2>
</gtm:CountryOfOrigin>
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Turn on "Xml Schema Validation" feature from DBA.ADMIN
2. process GTM transaction with <CountryOfOrigin> element on inbound XML
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 |
References |