1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
286 views
by chris-m-3214 (320 points)
Is there a way to count all segments in an X12 message?

1 Answer

0 votes
 
Best answer
You can use the getCount() function (for example, message.getCount('N1')) to get a count of specific segments in your X12 message.  You can use message.getCount('/') to return a count of all segments in the message.
by jon-t-7005 (8.2k points)
selected by chris-m-3214
...