Hi,
I am currently facing the problem to generate unique sequence numbers within an EDIFACT interchange that contains multiple messages (UMH). Inside the mapping I have populated the NRO according to guidelines by SAP within the UNH-0062 and UNT-0062 fields of the EDIFACT message. When I check the generated EDIFACT file I noticed that the sequence numbers for all UNH messages are the same:
UNB+UNOA:3+GLN-A:14+GLN-B:14+140904:1103+11'
UNH+15+ORDERS:D:96A:UN'
UNT+18+15'
UNH+15+ORDERS:D:96A:UN'
UNT+23+15'
UNH+15+ORDERS:D:96A:UN'
UNT+18+15'
UNZ+3+11'
Where I would have expected the following:
UNB+UNOA:3+GLN-A:14+GLN-B:14+140904:1103+11'
UNH+15+ORDERS:D:96A:UN'
UNT+18+15'
UNH+16+ORDERS:D:96A:UN'
UNT+23+16'
UNH+17+ORDERS:D:96A:UN'
UNT+18+17'
UNZ+3+11'
Setting the parameter multipleNumbersPerMessage to Yes inside the communication channel also does not help. This will produce the following:
UNB+UNOA:3+GLN-A:14+GLN-B:14+140904:1103+11'
UNH+15+ORDERS:D:96A:UN'
UNT+18+16'
UNH+17+ORDERS:D:96A:UN'
UNT+23+18'
UNH+19+ORDERS:D:96A:UN'
UNT+18+20'
UNZ+3+11'
Is there anyone out there who knows how to achieve this (per UNH message the same sequence number)?
Regards,
Reinier