pyx12 icon indicating copy to clipboard operation
pyx12 copied to clipboard

Error when parsing a 271 file

Open harriettxing opened this issue 5 years ago • 1 comments

$ x12valid 271Sample.txt Traceback (most recent call last): File "/usr/local/bin/x12valid", line 10, in sys.exit(main()) File "/usr/local/lib/python2.7/dist-packages/pyx12/scripts/x12valid.py", line 155, in main fd_997=fd_997, fd_html=fd_html, fd_xmldoc=None, map_path=args.map_path): File "/usr/local/lib/python2.7/dist-packages/pyx12/x12n_document.py", line 147, in x12n_document raise pyx12.errors.EngineError(err_str) pyx12.errors.EngineError: Map not found. icvn=00501, fic=HB, vriic=005010X279A1 $

271Sample.txt

harriettxing avatar Jul 12 '19 18:07 harriettxing

I have not converted many of the 4010 maps to 5010, including the 271. If you have a copy of the implementation guide, it would be great if you could work on that.

See https://github.com/azoner/pyx12/blob/master/pyx12/map/271.4010.X092.A1.xml

azoner avatar Jul 12 '19 20:07 azoner