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

We found an ending segment but we never stored the first part of the loop! #56

Open
arpit-invenio opened this issue Oct 3, 2021 · 2 comments

Comments

@arpit-invenio
Copy link

I have created a custom xml to handle 4010/850 Purchase order. But getting the below error
We found an ending segment but we never stored the first part of the loop!
The Error occurs when the code tried to appendEndingSegment for PO1 loop.
I have verified the xml with the example edi file and looks fine.
Any help would be appreciated

@arpit-invenio
Copy link
Author

arpit-invenio commented Oct 3, 2021

The specification is very much similar to https://www.erico.com/public/library/edi/ERICO850_4010.pdf
I am getting the error on the PO1 loop which has an inner loop PID. Exact error comes at MSG, which is a part of PO1 loop but comes after the inner PID Loop.
I am attaching the xml that I created
850.4010.txt

@angelaszek
Copy link
Collaborator

Could you provide a sample file that produces this error? Thanks.

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

2 participants