Subject:EDI to XML using adapter Author:Stijn Patrouille Date:14 Jun 2006 05:47 AM
Hi,
Just downloaded a trial-version of Stylus Studio.
I want to convert EDI-files to XML. I have a correct-formed EDI (testfile).
When i select the the EDI file and convert to XML using adapter the standard EDI adapter, i have following error:
java.io.IOException: Segment IMD, Element 7009: Cannot decode value "09" (file:///f:/telecom/WP_20060428120000_FIRMNAME.EDI:9,8) {close}
Please help
--
part of the EDI file:
UNB+UNOA:4+BELC0006+Rainbow+20060428:1137+P1000/0001+++A+1++1'
UNH+P1000/0001+PRICAT:D:99B:UN+++ETEB04:3:B00'
BGM+9+COMPANY PRODUCTS:01'
DTM+137:20062804:102'
NAD+SE+BELC0006++N.V. COMPANY S.A.+dsfdsfsdfdsfdsf 37+Brussel++1040+BEL'
NAD+BY+107395++MY COMPANY ESV+street 192+BRUSSEL++1000+BEL'
PGI+3'
LIN+1'
IMD+C++09:004:193:ETEB_CN'
FTX+IND+++[-] Dummy product for ETEB credit note that refers to an invoice+ENG'
--
That '09' you have should be the first component of the third
element in the segment.
That is a C273 composite element, the first component of which is a
7009 - "Item description identification" and whose valid values are
1, 2, 3, 4 and 5.
>java.io.IOException: Segment IMD, Element 7009: Cannot decode value "09"