none
Invalid character in data element RRS feed

  • Question

  • About X12 856 

    The REF02(Reference Identification_127) is X12_AN (SimpleType).

     

    According EDI schema file , It's maximum length is 30 and minimum is 1.

     

     

    My EDI content follow:

    .........................................

    DTM*371*20060625~
    DTM*017*20060708~
    HL*2**E~
    TD3**HLXU*4275224******R58917*4300~
    REF*ZZ*GDX OPTBig SmileELL DC*EAGLE_NASH_EG3~
    REF*ZZ*GDX OPT:CONTAINER_TYPE*40~
    REF*CB*CY/CY~
    HL*3**O~
    PRF*7564***20060608~

     

    When, The REF02 values is "GDX OPT : DELL DC" and "GDX OPT:CONTAINER_TYPE".

     

    I transform EDI to XML that it is fine. 

    But, I transform XML to EDI  that it is fail. 

     

    The error message follow:

    Error: 1 (Field level error)
     SegmentID: REF
     Position in TS: 17
     Data Element ID: REF02
     Position in Segment: 2
     Data Value:
     6: Invalid character in data element

    Error: 2 (Field level error)
     SegmentID: REF
     Position in TS: 18
     Data Element ID: REF02
     Position in Segment: 2
     Data Value:
     6: Invalid character in data element
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

     

    But, I modify the XML content,  remove ':' symbols

     

    So, The REF02 values is "GDX OPT DELL DC" and "GDX OPT CONTAINER_TYPE".

     

    I transform EDI to XML that it is fine. 

    I transform XML to EDI  that it is fine,too. 

     

    Why should we remove ':' symbols?  Can we keep it?

    Thursday, March 13, 2008 6:59 AM

Answers

  • The colon (Smile is the default Component separator. If you wish to use it in the data you simply need to configure a different character to use as the component separator. In the Party setup, go to the "ISA Segment Definition" and change the ISA16 value to whatever you would like to use instead.

     

    Richard

    Thursday, March 13, 2008 1:58 PM

All replies

  • What character is specified for your component element separator (ISA16)? If you choose to use the : (colon) you can't use it in data...
    Thursday, March 13, 2008 1:52 PM
  • The colon (Smile is the default Component separator. If you wish to use it in the data you simply need to configure a different character to use as the component separator. In the Party setup, go to the "ISA Segment Definition" and change the ISA16 value to whatever you would like to use instead.

     

    Richard

    Thursday, March 13, 2008 1:58 PM
  • Thanks Richard.

    Your suggest is useful.

     

    Monday, March 17, 2008 5:48 AM