albmarin/badX12

Couldn't able to parse edi 277 files

Opened this issue · 0 comments

This parser working well with 834, 837, 275 formats but when I tried to parse edi 277 file, I'm getting this error

File "C:\Users\Dinesh\Desktop\Projects\x12 parser\env\Lib\site-packages\badx12\parser.py", line 125, in _parse_segment
segment.fields[index].content = value
~~~~~~~~~~~~~~^^^^^^^
IndexError: list index out of range