on 11-27-2007 9:39 PM
I am working on a GUI mapping and have to get a reference number value to map into multiple detail segments. The reference value changes throughout the source.
SOURCE FORMAT:
Shipment
-Package
--PackageReference
---Reference
--ChargeDetails
---Charge
-
ChargeAmount
TARGET FORMAT:
Header
Detail
EXAMPLE DATA:
Shipment
-Package
--PackageReference
---123
--ChargeDetails
---Charge
-
7
---Charge
-
8
--PackageReference
---456
--ChargeDetails
---Charge
-
9
I need my target message to look like:
HDR
DTL 123 7
DTL 123 8
DTL 456 9
But I am getting:
HDR
DTL 123 7
DTL 456 8
DTL 9
I tried various combinations of context changing and node functions. I also think a Global Variable may be what is needed (to hold the Reference value), but I cannot figure out where tie the mapping to such a variable setting.
Any suggestions?
Hi,
use one remove context in Charge so that you get data as per your requirement
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.