Getting Raw EDI Data After Validation


    Getting Raw EDI Data After Validation

    EDIValidator allows you to retrieve the raw EDI file data after validation. The raw EDI data is placed in an array. Each index represents one line from the EDI file. EDIValidator has this data available through the EDIFileLines property. This value will only be populated when the EDISource is EDISource.DataString.


    EDIValidator ediValidator = new EDIValidator();

    // Validate an EDI file

    // Retrieve the raw EDI data
    foreach(string ediLine in ediValidator.EDIFileLines)
    in EDI Validator
    Did this article answer your question?