Online Help TEDITransactionSet
Unit JclEDI_ANSIX12
Types
TEDITransactionSet |
||||||||||||||||||||||||||||||||||||||||
The TEDITransactionSet object contains and manages TEDISegment objects. In JclEDI_UNEDIFACT.pas: Use the TEDIMessage object instead since TEDITransactionSet object is not defined.
InternalCreateHeaderTrailerSegments creates the EDI transaction set header and trailer segments and is called in the constructor. The SegmentST property is the transaction set header segment. The "ST" segment contains the "Transaction Set Identifier Code" and "Transaction Set Control Number" data elements in ANSI X12. The SegmentSE property is the transaction set trailer segment. The "SE" segment contains the "Number of Included Segments" and "Transaction Set Control Number" data elements in ANSI X12. It is important to note that the TEDITransactionSet does not make any assumptions on the data contained within the "ST" and "SE" segments, and it is up the programmer to accurately maintain the data within these segments. For custom EDI implementations the "ST" and "SE" segments can be used with a varying number of elements within these segments.
InternalCreateaSegment will create a TEDISegment object and is used by InternalCreateEDIDataObject.
Acquires a TEDIDelimiter reference from the TEDITransactionSet parent object.
This function calls InternalCreateSegment
Segment item management functions and procedures.
This function implements the assembling of EDI data into EDI file format.
This procedure implements the disassembling of EDI data from EDI file format.
This property allows direct and easy access to the TEDISegment objects managed by the object list in TEDITransactionSet.
A property that exposes the object list in TEDITransactionSet.
Gets the count of TEDISegment objects. The "ST" and "SE" segments are not included in this count. |
Usage
Notes & Examples |
||||
A simple example:
|