GithubHelp home page GithubHelp logo

Comments (4)

cleftheris avatar cleftheris commented on May 23, 2024

Hi @DuyNguyenDaenet and thanks for your interest in EDI.Net.

I am not well familiar with Odette and VDA and they are not supported in the library. As far as I can tell by looking at the spec they could be supported in the future but that would mean a new type of grammar that has rules based solely on text sizes instead of element/component delimiters. This would need significant work that is not in our plans.

from edi.net.

DuyNguyenDaenet avatar DuyNguyenDaenet commented on May 23, 2024

Hi @cleftheris.
After creating this issue, I have done some research. Let me quote from this doc Odette: "Originally it developed its own distinct set of messages but now only develops subsets of those EDIFACT messages used by the automotive industry. ODETTE have historically had their own standards but have, since 2000, adopted the EDIFACT standards". So it seems both Odette and VDA have 2 versions: The legacy version and the current version which is a subset of EDIFACT. I am working with the current version of Odette and VDA.

Please correct me if I am wrong. From what I have seen, there are 2 main parts to take care of when using the too. The first one is the grammar of which I can use the EDIFACT grammar for the new Odette and VDA with no modification.

The second thing and the thing that I am doing is creating POCO's models based on Odette's spec and your EDIFACT models as guidelines. So far, I have created 2 models to convert Odette's DELINS and AVIEXP messages in EDI format to POCO and then from the output POCO back to EDI format and compare between the 2 EDI formats. They look almost identical except that the converted EDI file from POCOs does not truncate the "+" and ":" at the end.

For example: The converted EDI file has "++++' ", I believe, the "+" at the end can be removed and the result is "'". Another example is "+:::::::+", I think the ":" at the end can also be remove which results in "+::+". Hope you can understand what I mean. Is the tool supports that or I need to truncate it by myself?

from edi.net.

cleftheris avatar cleftheris commented on May 23, 2024

Hi @DuyNguyenDaenet
So if these transmissions have EDIFact compliant counterparts you should be just fine.
As far as your problem is concerned can you please open a new issue?
In the new issue please provide with the two edi files (input & output) in order to check the differences because I am not sure I have understood correctly.

Also note that there is something that is called compression in the EDIFact standard that omits consecutive empty elements and components. That you can turn that off in the EdiSerializer

new EdiSerializer() { EnableCompression = withCompression }.Serialize(writer, interchange);

from edi.net.

DuyNguyenDaenet avatar DuyNguyenDaenet commented on May 23, 2024

Hi @cleftheris ,

The EnableCompression works perfectly. Thank you very much for your help. I think this issue can be closed now.

from edi.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.