cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Reference Value in GUI Mapping

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

use one remove context in Charge so that you get data as per your requirement