Configuring the Required Variables

How to:

This section describes how to configure a variable and then add this variable to a root node.


Top of page

x
Procedure: How to Configure a Variable

To configure a variable:

  1. In Integration explorer, right-click the transform name and select Properties.
  2. Select the variables and then click New.
  3. Enter the variable Name, Value, Variable Type, and Data Type, as shown in the following image.


Top of page

x
Procedure: How to Add a Variable to a Root Node

To add a variable to a root node (for example, Document):

  1. Right-click the document root node, click Add, select Variable, and then click on any newly created variable to add into the Document root tag, for example detlinecnt.

    The variable appears in the Output: XML pane, as shown in the following image.

  2. Using the up arrow on the button bar, move the newly added variable up.

    The counter should be initialized to zero for each document prior to the detail line loop (you must set the counter to 0).

  3. Expand the detail line group and detail group, then right-click on the group name, and add a work element that will contain the Line Count Value in the output XML.


iWay Software