You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for putting in the work and making this library available.
I am trying to parse an EDIFACT 01B file and I am having troubles in constructing my custom classes to read an EDIFACT file.
I am trying to map the RFF+CR with no success. I am brand new on EDIFACT, so possible I am doing something wrong here.
Hi @sukleinkauf it seems to me you are using the simple version of defining a segment group. The one with sequence end would not work well in your scenario (actually its not recommended for most cases). It usually works for simplistic quick deserialization scenarios. These usually map only few component values flat on the segment group class (In your case that would be LIN).
That said you should go with the explicit declaration of the SegmentGroups attribute by specifying all segment tags involved in the group on the same level (Segment groups can also be nested).
Check these other questions regarding segment groups #214
Also you can find interesting examples in the tests project
Thank you for putting in the work and making this library available.
I am trying to parse an EDIFACT 01B file and I am having troubles in constructing my custom classes to read an EDIFACT file.
I am trying to map the RFF+CR with no success. I am brand new on EDIFACT, so possible I am doing something wrong here.
My code:
Thank you
The text was updated successfully, but these errors were encountered: