Sidebar

Count All Segments In An X12 Message

0 votes
170 views
asked Feb 22, 2022 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.
answered Feb 22, 2022 by jon-t-7005 (7,590 points)
selected Feb 22, 2022 by chris-m-3214
...