The Line Item Loop action allows you to loop through the current Record's Line Items and run actions on each one

NOTE: Loop actions are available in the Enterprise Edition only. 


Actions

Add the actions you wish to process for each Line Item into the Actions list. 


Advanced

In the Advanced tab, you can select whether to loop through the Active Record's line items or the Alternate Record's line items.


* Here are some things to keep in mind when using the ACTIVE RECORD:

  • You can use the [LINECTR] variable in your actions to get the line number being processed
  • You can use the [LI([LINECTR]|fieldname)] variable syntax to get the line item data for the Active Record's scurrent line


* Here are some things to keep in mind when using the ALTERNATE RECORD:

  • You can use the [ALTLINECTR] variable in your actions to get the line number being processed
  • You can use the [<LI([ALTLINECTR]|fieldname)>] variable syntax to get the line item data for the Alternate Record's current line


It is fairly common to use a line item loop inside another line item loop to compare line items between two Records. You need to make sure to ahve one loop the active record ande the other loop the alternate record.