azoner/pyx12

Help - Parse data in multiple files (not really an issue, a question)

Closed this issue · 1 comments

Hello, Pardon my lack of python knowledge.
We are looking to use this to generate ANSI 834 files.
Our files primarily have Loops 2000 and 2300 (apart from other loops, required header and trailer records).
We have data that will go in each of the loops in separate files.

Where do i start to generate a ANSi834 file where data is stored in multiple files.

Thank You.
Arjun

pyx12 is focused on reading/parsing X12, not so much on writing. The X12Writer and Segment classes wrap basic element/segment/loop separators, and segment counting. These classes do not have any awareness of specific X12 transactions (like the 837).