Data Transformation Engine Design Studio Tutorial

Chapter 19 - Incrementing Output Data Using the COUNT Function
Design Studio Tutorial
288
MakePO Functional Map
The map rule for the PO object specified three input items (details, headers, and
purchase order); three input cards were created for the MakePO functional map.
In the MakePO functional map, the card object for input card #3 Increment is
the IndexOfPO item type.
Build and run the ExecutableUsingINDEX executable map.
In the IndexedOutput.txt file generated by the ExecutableUsingINDEX map,
the IndexOfPO increments by one for each PO.
Using the COUNT Function
Instead of using the INDEX function, the COUNT function is used in the
Executable_UsingCOUNT map.
The
COUNT function counts the number of purchase orders that have already been
created in the output and adds 1 to include the current purchase order.