Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Edifact anyone?

by GotToBTru (Chaplain)
on Dec 16, 2013 at 16:16 UTC ( #1067352=note: print w/ replies, xml ) Need Help??


in reply to Edifact anyone?

EDI Translators are expensive, but worth it if you have more than just a very few trading partners. I would suggest that approach before writing your own.

Secondly, if I was going to expend the effort to write my own translator, I would be run, not walk, away from any module that generated warnings saying something in it is 'experimental'. Is it something that is going to change functionality or just go away in a future release? Is all my hard work going to be wasted?

Is your test data well formed? I work with X12, not EDIFACT, so I can't tell just by looking. That might be the source of the error. If not, I think you need to open up the module and go to the line indicated and see what it was trying to do.


Comment on Re: Edifact anyone?
Re^2: Edifact anyone? (use feature 'switch'
by Anonymous Monk on Dec 16, 2013 at 22:47 UTC

    I would be run, not walk, away from any module that generated warnings saying something in it is 'experimental'. Is it something that is going to change functionality or just go away in a future release? Is all my hard work going to be wasted?

    Reason before panic friend :)

Re^2: Edifact anyone?
by Skeeve (Vicar) on Dec 17, 2013 at 08:23 UTC

    I have no real trading partner. I just need to extract some information for reports.

    The other stuff about X12 - sorry - I don't really understand that yet. Just started learning yesterday.


    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
      Hi Skeeve.

      Until you mentioned it, I had never heard of EDIFact.

      I am not sure why something that is supposed to be an ANSI ISO standard doesn't have a free API. It sounds like it is the equivalent to charging for the IP protocol. Maybe I am wrong here. Maybe the charges are for variations that orginzations add to EDI.

      I did some poking around and it looks like there are many translators for sale on the net.

      See references on this page for 'TrueCommerce' and 'B2B Gateway' http://www.sleeter.com/blog/2012/04/quickbooks-edi/

      I also came across some viewers. I am not sure if they will help you or not. Hopefully they will.

      As with the library you found, as it was mentioned earlier, I would shy away from something that was potentially cobbled together. Espcially when working with production data.

      Copy and paste EDI code into the page. This one does translate the code you posted, but I am not sure if it is useful. http://www.edifactviewer.com/

      EDIFACT Viewer http://sourceforge.net/projects/edifactviewer/

      I only mention X12 to say that I know EDI. It's what I do at my job, all day, every day.

      You have no trading partner? Okay, but somebody you know does! Nobody messes around with EDIFACT unless they have to. So, you aren't writing a translator, just trying to understand the structure, and maybe learn some new perl skills along with it. I understand that. For my own work, I have not explored any of the EDI perl modules. We use a translator. I do have half a dozen awk scripts I use to make quick reports from EDI and application data files.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067352]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (16)
As of 2014-09-30 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (374 votes), past polls