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.

  1. On the next line in the Editor list box, enter the following statement:
    ildlimit = count($ILD[1][*]);
  2. Press Enter twice to insert a blank line after the statement.