Hi,
I need some urgent help. EDI gurus, pleeeeeeeease reply.
I am doing some inbound mapping on Gentran NT 3.1
Input is
ISA
GS
ST
...
...
DTM that occurs 2 times
...
...
Group-1 multiple times
Seg11
Seg12
Seg13
Group-14 multiple times
...
...
seg141
seg142
.....
Currently output has
HDR EDI data from Seg11, Seg12, Seg13 etc go in here
DTL ]EDI data from Seg141, Seg142, Seg143 etc go in here
DTL ]
...
HDR
DTL
DTL
...
Currently segments before Group-1 are not mapped to output.
I need to take data from Seg-1 and populate 2 fields in
HDR record depending on a date qualifier in DTM01.
i.e
if DTM01 = value1, DTM02 goes to Delivery Dt in HDR
if DTM01 = value2, DTM02 goes to Cancel Dt in HDR
I have tried all combinations of using extended rules/
temporary storage at different group levels and mapping
from temp storage to output. Also tried extended rules
on the output side too...Unfortunately not much luck
It either gives me multiple HDR records (first one good HDR
with all fields, second one just HDR tag and the dates)
or it goes into an infinite loop.
Any help in figuring out where (what group level) to
keep the extended rules / variables / linking from
temp.storage to output etc is greatly appreaciated.
Also, what would be a good way to initialize the output record /field / temp storage etc after it has been
used for populating the output file?
Thanks a lot for reading thru...Have a good day
Please reply
I need some urgent help. EDI gurus, pleeeeeeeease reply.
I am doing some inbound mapping on Gentran NT 3.1
Input is
ISA
GS
ST
...
...
DTM that occurs 2 times
...
...
Group-1 multiple times
Seg11
Seg12
Seg13
Group-14 multiple times
...
...
seg141
seg142
.....
Currently output has
HDR EDI data from Seg11, Seg12, Seg13 etc go in here
DTL ]EDI data from Seg141, Seg142, Seg143 etc go in here
DTL ]
...
HDR
DTL
DTL
...
Currently segments before Group-1 are not mapped to output.
I need to take data from Seg-1 and populate 2 fields in
HDR record depending on a date qualifier in DTM01.
i.e
if DTM01 = value1, DTM02 goes to Delivery Dt in HDR
if DTM01 = value2, DTM02 goes to Cancel Dt in HDR
I have tried all combinations of using extended rules/
temporary storage at different group levels and mapping
from temp storage to output. Also tried extended rules
on the output side too...Unfortunately not much luck
It either gives me multiple HDR records (first one good HDR
with all fields, second one just HDR tag and the dates)
or it goes into an infinite loop.
Any help in figuring out where (what group level) to
keep the extended rules / variables / linking from
temp.storage to output etc is greatly appreaciated.
Also, what would be a good way to initialize the output record /field / temp storage etc after it has been
used for populating the output file?
Thanks a lot for reading thru...Have a good day
Please reply