none
X12 00502-204 validate instance failure when EDI file is in readable format in Visual Studio RRS feed

  • Question

  • Hi, I have a n X12 00502- 940 edifile, when all data are on the same line, Visual studio validates

    ST*204*7629~B2**XXXX**159771**PP~.......N4G*L*43920*900**E*864~SE*33*7629~

    when I try to make the file in a readable format, each segment on line by hiting enter after each "~", and try to validate

    as follows

    ST*204*7629~
    B2**XXXX**159771**PP~
    B2A*00*LT~
    ....
    .....
    SE*33*7629~

    I get "Invalid Segment Terminator" or many segment level errors, I have always "~" in the "segment separator (106th char of iSA) checked in the validate instance dialog box. In Segment separator suffixe, I tried all, None, CR, LR & CRLF but no way

    I also generated an instance and made it readble, I get the exact same behavior

    Thanks in advance

    Monday, August 25, 2014 2:16 PM

Answers

  • Covert it to readable format only for your purpose. Leave the system to read it based on segment separator only.
    • Marked as answer by Angie Xu Monday, September 1, 2014 2:29 AM
    Tuesday, August 26, 2014 3:21 AM