Data Transformation Engine Map Designer Reference Guide
Chapter 8 - Functional Map Basics Using Multiple Inputs in a Functional Map
Map Designer Reference Guide
149
The input PO is composed of one Header and multiple Details. You want to
generate one ItemRecord for each Detail.
.
.
.
Header
Detail
1
Detail
2
Detail
3
.
.
.
ItemRecord
1
ItemRecord
2
ItemRecord
3
The functional map MakeItemRecord takes one Detail at a time, along with the
Header, and creates one ItemRecord.
Header
Detail
1
MakeItemRecord
ItemRecord
1
Header
Detail
2
MakeItemRecord
ItemRecord
2
Header
Detail
3
MakeItemRecord
ItemRecord
3
The two input arguments of MakeItemRecord are Detail and Header. You
would enter the following map rule for the output ItemRecord(s):
= MakeItemRecord (Detail:Input, Header:Input)
In the map MakeItemRecord, you would create two input cards. The first input
card corresponds to the first input argument, Detail. The second input card
corresponds to the second input argument, Header.