This project has moved. For the latest updates, please go here.

Interchange ISA.D_701_16 character limitation

Jan 22, 2014 at 1:33 AM
This is just informational, but the ^ character is ignored (at least in the Component Separator field) when exporting the Interchange to EDI-TXT format.
    public void SaveEDI(Interchange interchange, string filename, string segmentTerminator = null)
    {
        IEdiParser ediParser = new EdiParser();
        var interchangeContext = new EdiFabric.Framework.Entities.InterchangeContext();
        interchangeContext.SegmentTerminator = segmentTerminator;
        var ediData = ediParser.ToEdi(interchange.Model, null, interchangeContext);

        using (TextWriter tw = File.CreateText(filename))
        {
            tw.Write(string.Concat(ediData));
        }
    }
Note above: interchange.Model == INTERCHANGE
Jan 22, 2014 at 1:34 AM
I was able to get the pipe character | to work, so its not a problem with the field specifically.
Coordinator
Feb 12, 2014 at 10:31 PM
When generating EDI, the result is an enumerable list as far as I remember. You should be ale to set whatever segment separator you wish.
Can't remember now, but let me know if this is causing you problems.
Coordinator
Apr 30, 2014 at 9:07 AM
This has now been resolved in Release 2.0