Data Transformation Engine Map Designer Reference Guide
Chapter 9 - Functional Map Wizard Using an Output As an Argument
Map Designer Reference Guide
161
If a Map Already Exists
If the map names in the rules you specify in the map rule to generate a functional
map already exist, the maps are not created and a message indicating that there
are no unknown maps appears.
To create the specified map when a map with that name already exists, rename
the map in the rule, or rename the existing map.
Using an Output As an Argument
You can use an output data object as an argument of a functional map. The object
being used as an argument of a functional map must be used on an earlier output
card in the same map source file.
To specify an output data object as an argument of a functional map
1 Select the output card containing the data object.
2 Float the To window to view two cards at the same time. Press Ctrl and drag
the To window to the main window.
3 In the map rule on the second output card, enter the name of the functional
map.
4 Drag the data object from the first output card to the rule bar to use it as an
argument for the functional map.
Referencing a Functional Map
Any map may reference a functional map. A functional map may reference
another functional map, which may reference another functional map, and so on.
The number of levels of functional maps is unlimited.
For example, you have an input of multiple POs and you want to generate an
output of multiple Invoices. There is a one-to-one relationship between an input
PO and an output Invoice, which indicates the need for a functional map that
generates one output Invoice for each input PO.
In the POToInvoice map, one PO is mapped to one Invoice. This map can also
be used as a functional map.