Returns the handle of the Transaction Set that the Data Segment belongs in.
Syntax:
Returns:
A number identifying the Transaction Set.
Remarks:
Data segments in an X12 message are between the ST and SE segments inclusively; in UN/EDIFACT, they are between the UNH and UNT segments inclusively. The TransactionSetHandle property is equivalent to the MessageHandle property.
Example:
Dim oSegment As Fredi.ediDataSegment
...nTsHandle = oSegment.TransactionSetHandle
nMessageHandle = oSegment.MessageHandle
Sample