Use of EdiFabric.Core Class "B2" missing X12

Comments

6 comments

  • Avatar
    Admin

    Hello,

    The How to articles lists 3 steps:

    1. Create a new project

    2. Install EdiFabric.Core (if trial version) or EdiFabric.Core.Full (if full version)

    3. Add existing file(s) from the collection of EDI templates.

    This will be your template project.

    Then to use do:

    1. In your executable application, add reference to the newly created templates project (see above).

    2. Install EdiFabric.Framework (if trial version) or EdiFabric.Framework.Full (if full version)

    3. Follow the snippets to read EDI files or write EDI files.

    Hope this helps.

    BTW, you can raise all your incidents here, so we can keep track in one place.

    Best,

    Don

  • Avatar
    Robert Rathman

    Hello, Thank you for the prompt response. We actually did have this set up in this manner.

    We were able to solve the issue by including a reference to this dll (EdiFabric.Rules.X12004010) which was available in NuGet packages in Visual Studio. It wasn't a matter of the template not loading correctly, it was the fact that EdiFabric.Core.dll didn't include the classes needed for all of the templates (about half of the classes needed for these templates are there).

    We have a paid version of EdiFabric and the dlls included in the full version did not include dlls with ".full" in the name.

    If there is ".full.dll" version we would love to know where to find them as we have paid for this program.

    Thanks

  • Avatar
    Admin

    Hello Robert,

    EdiFabric.Core.dll does not contain any templates at all. I'm a bit confused to hear that you found half of the templates there. Please double check because EdiFabric.Core contains shared classes for the framework only and classes for all headers and trailers, ISA, GS, etc.

    The DLLs you had downloaded from the purchase link are the unlocked ones. I believe I mentioned Full versions in relation to the NuGet packages and not the DLLs. We recommend using the NuGet packages (containing.Full in their names) as opposed to DLLs.

    You should not use EdiFabric.Rules.X12004010 because it is a trial package,  does not support validation and will expire at some point. 

    Best,

    Don

     

  • Avatar
    Robert Rathman

    Hello Don

    I didn't find the templates there, I found the classes needed for the template to load properly here as they are missing from the EdiFabric.Core.dll we had downloaded with our purchase. Could it be that the templates are missing a using directive needed to load the trailer classes ("B2", "B2A", "C3", etc.) Shown below:

    The template I am using here is EF_X12_006030_TS204.cs

    The only modification I made to this file was the namespace it was under as it would need to be in the namespace of the project I had created and the commented out line shown in the top picture(commented out so you could see the errors from the missing classes that the template references).

     

    If there is a full .dll we did not get it from our purchase, is there a certain place were were supposed to get it as we downloaded all shown below our order number is whited out as I don't feel comfortable showing it in a public forum.

    Thanks
     

  • Avatar
    Admin

    I understand now, it's missing references to the segments.

    Together with the transaction templates, please add the following files to your templates project as well:

    These hold all the segments, complex data elements and EDI codes and there is a set of these for each version.

    We'll be updating the documentation next week, apologies for the confusion.

    Best,

    Don

  • Avatar
    Robert Rathman

    Hello Don,

    This worked perfectly, I no longer need that extra reference. 

    Thank you very much :)

    Have a wonderful rest of your day.

    -Robert

Please sign in to leave a comment.