Subject:EDIFACT code list problem Author:Stefan Cuypers Date:01 Nov 2006 05:03 AM
I'm currently evaluating Stylus Studio Developer for processing of EDIFACT messages. When opening an EDI file I experience a problem however. The file is an ORDERS D96A message and contains the segment:
When loading this file using the EDI adapter, we get a Java exception stating the value 'GU' cannot be decoded and the load fails.
The code 'GU' is not part of the EDIFACT standard, but the code list in the standard contains the value 'ZZZ' to indicate other mutually agreed on codes are allowed.
Any idea how we can solve this?
Subject:EDIFACT code list problem Author:Tony Lavinio Date:01 Nov 2006 07:17 AM
There are two ways.
The easiest is that you can disable the option that validates that
each codelist value appear in the standard. In the dialog that comes
up, set "Force error if value not in code list" to "no", which has
the same effect as adding :tbl=no to the url.
The second is there is an extensibility mechanism for codelists.
You can create a file called EDIFACT.properties and put into the
same directory as the EDIFACT.jar file (in the .\bin directory
under where Stylus Studio is installed). In that file you could put
a line like this (assuming the value comes from EANCOM):
*.7143.GU=Supplier's internal article group number/product classification code (EAN Code)