Gets the transaction set or message of the data segment.
Syntax:
Returns
Returns an object of type FREDI.ediTransactionSet.
Example
Set oSegment = oEdiDoc.FirstDataSegment
Do While Not oSegment Is Nothing
If oSegment.ID = "ST" Then
Set oTransactionSet = oSegment.GetTransactionSet
nSegmentCount = oTransactionSet.Count
End If
Set oSegment = oSegment.Next
Loop