Counting the ILD Groups
The ILD group is a repeating group, so there is one ILD group for each line item in the invoice. You want Sterling Gentran:Server® to count the ILD groups used in the invoice (the value from counting the ILD groups will be placed in variable "ildlimit").
Use this procedure to define a statement that counts the ILD groups.