problem with addICEnvelopeEDIFACT

Hi All,

when i try to create the envelope for EDIFACT , it is creating the following outdocument.

UNA:+.?
UNB+UNOB:2+4084324742:12+114315195EMEP:14+050627:1015+271015219++++1’
UNH+271015216+INVOIC:D:99A:UN’





UNT+34+271015218’
UNZ+3+271015219’

but i need to get the following output.

UNA:+.? ’
UNB+UNOB:2+4084324742:12+114315195EMEP:14+050619:1745+573’
UNG+INVOIC+4084324742:12+114315195EMEP:14+050619:1745+573+UN+D:99A’
UNT+34+271015218’



UNT+34+3433’
UNE+3+573’
UNZ+1+573’

i am missing the UNG,UNE .

I dont know what i am missing.
Can anybody guide me please because this is the first time i am developing EDIFACT.

Ramesh,

Basically before u create the envelope for EDIFACT the UNG,UNE mapping and then addICEnvelopeEDIFACT will populate all the Envelope segments accordingly.

HTH,
RMG

Hi RMG,

Could you please elaborate more on your statement.

Now i have UNH/UNT pair is ready with me and i want to add those envelope info as mentioned above.

Ramesh

Actually you have to explicitly map the necessary UNG/UNE segment structure data before you create the EDIFACT envelope.

HTH,
RMG