Framework EDI Reference. Methods and Properties
ediTransactionSet. FirstDataSegment

Returns the first Data Segment of the UN/EDIFACT Message or ASC/X12 Transaction Set.

Syntax:

Returns

Returns object of type FREDI.ediDataSegment if the operation is successful; otherwise returns NULL or an empty object if the Message or Transaction Set does not contain any Data Segments.