Framework EDI Reference. Methods and Properties
ediScmDataSegment.Sequence

Gets the sequential/index position of the data segment in the transaction set/message.

Syntax: