Can any one help me in parsing below file 810 EDI file?
ISA00 00 ZZ1913464 ZZTest 1401100349U0035010021539860P>
N1BYPHARMACY 2546 S/T91004564139
PIDFEFFIENT 10MG 30
PIDFCOUMADIN 5MG 100
PIDFINS LANTUS SOLOSTAR 100U/ML5
But while processing, I am getting below exception?
Can't find defnition for EdiFabric.Definitions.X12_004110_810.M_810
Help on this is much appreciated.
Hi sparupalli ,
Good luck :) .. I am also working on 837P with EDI fabric and having challenges .
Regarding your issue . you need to add M810 class file into definitions project and compile it . you can download all classes files and schemas from link shared. Do not change the class name or any property name as the api logic is tightly couple with naming
Currently I am facing the challenge with how to deserialize the object i.e. loading edi file into object (in your case it will be M_810 ) . The api does not load list types . May be this one will be the next challenge for you as I can see multiple IT1 segments
in your file too . Let me know if its working fine at your end.
Hey Rajput..thanks for the reply. I added the 810 file and related stuff in the definitions. Currently facing with the loading of the file. Need to see what would be the challenge...
First check the GSIN1913464Test201401100349490087X004110 line . and then X004110 value . Basically api look for this value in GS segment to resolve type of class and then object type. X004110 does not belongs to X12 message types (correct me if I m wrong) and
offcourse class type provided by api definitions . So I recommend you to look edi file above for correct message type .
Api contains OneDrive-2014-03-20\Classes\X12\00401 as folder for 4010 and namespace is EdiFabric.Definitions.X12_004010_810 for class M_810
So your edi file GS segment should contain value something 004010....
Hope it helps