Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing 999 fails when TA1 exists #77

Open
Edwardiv1 opened this issue Nov 17, 2024 · 0 comments
Open

Parsing 999 fails when TA1 exists #77

Edwardiv1 opened this issue Nov 17, 2024 · 0 comments

Comments

@Edwardiv1
Copy link

Edwardiv1 commented Nov 17, 2024

Parsing the following fails with the errors messages:
Error: ANSI version 000 not consistent with version specified ANSI837_5010_X231

999 Data file:

ISA*00*          *00*          *ZZ*330897513      *ZZ*YAXBCX         *241018*0307*^*00501*000000101*0*P*:~
TA1*101*241018*0307*A*000~
GS*FA*330897513*ABCDEF*20241018*0307*294082671*X*005010X231A1~
ST*999*0001*005010X231A1~
AK1*HC*101*005010X222A1~
AK2*837*101*005010X222A1~
IK3*CLM*289*2010*6~
IK3*CLM*381*2010*6~
IK5*R*5~
AK9*R*1*1*0~
SE*8*0001~
GE*1*294082671~
IEA*1*000000101~

The problem is the TA1 line (second line), which says the file was accepted. Usually TA1 is only included if there's a rejection, but in this case the clearinghouse is including it even though the status is "A".
Looks like the parser is reading it expecting it to be the GS segment (?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant