Returns the loop tag of the current loop that the data segment belongs to.
Syntax:
Remarks:
A loop in EDI is sometimes referred to as a group, because a loop is actually a group of segments that are interrelated with each other to describe an information. The ID of the first segment of these group of segments is the ID or tag of the loop. For example, the N1 loop (in X12) has the following segments:
N1
N2
N3
N4
REF
PER
DMGCalling the CurrentLoop method on any of these segments will return N1.
Sample