Giter Site home page Giter Site logo

X12 about edifact HOT 6 CLOSED

homer8173 avatar homer8173 commented on June 21, 2024
X12

from edifact.

Comments (6)

sabas avatar sabas commented on June 21, 2024

Hi, there are different people who asked over the years for x12 but I never used it as I don't talk with US partners :)
From my understanding you need to change the separators but the logic should be the same.
UN/EDIFACT is open for specifications, X12 not...
Do you need to parse existing messages or encode or both?
First we need to improve Parser.php and Encoder.php so that they can work with X12.

from edifact.

homer8173 avatar homer8173 commented on June 21, 2024

Thanks for you interest, I have a full set to exchange, orders, modifications, invoices and desadv
There is more or less 50% of my software to adapt

from edifact.

sabas avatar sabas commented on June 21, 2024

I read this
https://support.edifabric.com/hc/en-us/articles/360000291391-EDI-Basics

For example to split data I tried changing with this function (but apparently in X12 there's no equivalent of the release character ? so I put |).
$c->analyseUNA('>*.| ~');
It would need to change also the parse function for the group separators... (ST instead of UNH for example)

from edifact.

homer8173 avatar homer8173 commented on June 21, 2024

I'm not sure to have the project because I'm far from the result.
An option is to use a translator but it will be expensive

from edifact.

sabas avatar sabas commented on June 21, 2024

My suggestion without knowing the usage in your application is to try and make a drop-in replacement for the functions, perhaps it will get easier.
For the "translation" in Intepreter.php where I use the xmls it gets tricky because there's no vocabulary to convert.. :|
At least the message splitting should work by changing the segment names.
The simple conversion between EDI and array should be simple I think.

from edifact.

homer8173 avatar homer8173 commented on June 21, 2024

I gave to this prospect our situation and I'm waiting for their response but yes it seems doable to read those messages

from edifact.

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.