Data Transformation Engine Map Designer Reference Guide
Chapter 9 - Functional Map Wizard When an Argument Returns an Object of a Known Type
Map Designer Reference Guide
160
When an Argument Returns an Object of a Known Type
Sometimes an argument of a map is not simply an object name; it is a more
complex expression. The Functional Map Wizard creates maps that have complex
arguments only if the type of the object the argument returns can be determined.
For example, in the following map rule:
= F_ResponseMap (EXTRACT (Customer
Record:ResponseList:.:ActivityReport,
Call Field:Customer Record:ResponseList:.:ActivityReport =
"Y"))
The first argument of ResponseMap is an EXTRACT expression that, in this case,
returns the type Customer Record. The Functional Map Wizard creates the
F_ResponseMap functional map, and chooses the correct type for the input,
Customer Record.
Creating More Than One Functional Map
The Functional Map Wizard can create all of the functional maps in a map rule. For
example, if a map rule contains the name of two maps, the wizard creates both
maps.
The following map rule on the output object OutputPO(s) refers to two maps:
= IF (PO#:.:InputFile < 1000, F_OldPO (InputPO:InputFile),
F_NewPO(InputPO:InputFile))
The rule refers to two maps: F_OldPO and F_NewPO. The Functional Map Wizard
creates both the F_OldPO and the F_NewPO.
Selecting Multiple Map Rules
You can select multiple map rules and run the Functional Map Wizard. For
example, select the following two map rules to create two functional maps:
= F_EventMap (Activity:ActivityReport)
= F_ResponseMap (EXTRACT (Customer
Record:ResponseList:.:ActivityReport,
Call Field:Customer Record:ResponseList:.:ActivityReport =
"Y"))
The maps for all of the rules you select are created.