Create the HL01 Element Accumulators
About this task
To create the HL01 element accumulators:
Procedure
- Right-click the HL01 element
and select Properties from the shortcut menu.
The Element Properties dialog box opens.
- Click the Standard Rule tab to access the standard rule options.
- From the standard rule list, select Use Accumulator.
- Click New.
The Edit Accumulator Entry dialog box opens to create a new calculation for this field.
- From the Primary Accumulator list, select 0. This is the accumulate that you created in step 5 in Initialize the Accumulators.
- From the First list, select Increment
primary.
Increment primary is the first operation performed. The value in the accumulator increments by one for each iteration of the current group.
- From the Second list, select Use
primary.
Use primary is the second operation performed, after the first operation is completed. The current value of the accumulator is loaded into the Assigned Identification field.
- In the Edit Accumulator dialog box, click OK to add the accumulator.
- Click New.
The Edit Accumulator Entry dialog box opens to create a new calculation for this field.
- From the Primary Accumulator list, again select 0.
- From the First list, select Move primary to alternate.
- From the Alternate Accum list, select 1.
- In the Edit Accumulator dialog box, click OK to add the accumulator.
- In the Element Properties dialog box, click OK to add the standard rule to the Line Items field.