EDI 210 5010

Comments

6 comments

  • Avatar
    Admin

    All supported EDI templates for X12 can be found here.

    EDI 210 v005010 is supported.
    You can use the demo\SDK to evaluate reading\writing - the transaction is included in EdiFabric.Rules.X12005010.dll or EdiFabric.Rules.X12005010.Trial NuGet package.


    The class name is EdiFabric.Rules.X12_005010.TS810
    How to read EDI files (regardless of the type)
    How to write EDI files (regardless of the type)

    0
    Comment actions Permalink
  • Avatar
    Fidel Gonzalez

    I can't find any EdiFabric.Rules.X12005010 on the demo version

    0
    Comment actions Permalink
  • Avatar
    Admin

    Hello Fidel,

    I did attach it in the reply to your ticket.

    Best,

    Don

    0
    Comment actions Permalink
  • Avatar
    Kimo Gao

    Hi I can't find x12 5010 on the demo version too

    0
    Comment actions Permalink
  • Avatar
    Kimo Gao

    When I run the demo codes and it shows error msg:

    Unsupported transaction: Format X12 Version 005010 Transaction ID 850 

    0
    Comment actions Permalink
  • Avatar
    Admin (Edited )

    Hello,

    The demo is based on version 4010 for X12, and for accuracy you'll need to evaluate against this version. To enable parsing for all versions regardless, please change the load factory to this (which will try to parse EDI files according to the 4010 templates and will only work if there is a sufficient overlap):

    static Assembly LoadFactory(MessageContext mc)
    {
    if (mc.Format.Equals("X12", StringComparison.Ordinal))
    {
    if (mc.Version.StartsWith("005010X2", StringComparison.Ordinal))
    return Assembly.Load("EdiFabric.Templates.Hipaa");

    return Assembly.Load("EdiFabric.Templates.X12");
    }

    if (mc.Format.Equals("EDIFACT", StringComparison.Ordinal))
    return Assembly.Load("EdiFabric.Templates.Edifact");

    throw new Exception(string.Format("Transaction not supported:
    Format {0} Version {1} Transaction ID {2} .",
    mc.Format, mc.Version, mc.Name));
    }
    0
    Comment actions Permalink

Please sign in to leave a comment.