I want the EDIAdapter to automatically calculate the number of segments in my EDIFACT message (UNT-0074).
The documentation suggest that the wm.b2b.edi:convertToString will calculate segment counts if left blank. However it says when converting to ANSI X12.
Is there any way of getting this to calculate the segment count for EDIFACT ?
We generate edifact outbound using the wm.b2b.edi:convertToString in v4.6. As in X12, this will generate the segment count if it hasn’t already been assigned (we leave the count fields unassigned/unmapped) in the input record to this service.
I was going thru this doc when i was looking for this solution…
what i found was we need to fill one element of this then automatically the count information get added up in UNT01.