Setting Segment Count In The SE segment

Index

    Setting Segment Count In The SE segment

    In X12 EDI specifications the SE segment requires that you enter the correct number of segments in the transaction. This can be very tedious since at runtime it is hard to find out exactly how many segments they are in a given transaction. EDIDocument enables you to correctly enter this value in the SE, GE and IEA segments

    Example

    EDIDocument doc = new EDIDocument();
     
    doc.AutoPlaceCorrectNumOfSegments = true;
    doc.AutoPlaceCorrectNumOfST = true;
    doc.AutoPlaceCorrectNumOfGT = true;
    in EDI Document
    Did this article answer your question?