EDI.Net
EDI.Net copied to clipboard
Multiple segments with same name - [EdiCondition] not working
MEA + 5 parameters MEA + 5 parameters
How can I make this work for Deserializing a file.
I just need the model setup.
Thanks, David
Hi @brookd-lab and thanks for your interest in Edi.Net.
In order to help out you need to provide with a detailed example (sample transmission as well as models) with what you have tried so far. In the meantime checkout the tests project and all the samples there to get you started.
C.
I think I'm running into the same issue as brookd-lab. After loading in this example X12 834 with the corresponding model in X12_834.cs, only the last segment of each type is accessible in the POCO. Just to pick an example, here's what's available from all 26 REF segments:
Not sure if the included model just wasn't written with files like this in mind, but it seems to be pretty common in the files I've seen from our trading partner.