Perhaps the filenames of the incoming data are not named properly because there is no fixed header or footers. The file is ASCII text, but it seems to to be delimited by *. I am weary of giving examples because it is real data that should not be shared, and I am one of the last people that can authorize its release.

However, I can say that there are tags that start the lines and determine the data that will follow. Some examples of tags are 'BEG', 'N1', 'N3', 'N4', 'PO1', 'PID'. All I can gather thus far is that the BEG always starts the file and the N_ tags describe where products will be shipped to, billed to, etc..

My problem is that a common distributor has various clients (some of which are large, i.e national). My company accepts files that detail the orders because we are in charge of shipping. I was wondering if there were absolutes regarding where information is stored within these 850 files.

As a result of reading, it appears that the 850 guys only created a set of tags and formats to be used, not how to use them. It also appears as if each client has their own way... so it seems up to me to make some calls and determine if a set of characteristics and/or formats can be developed to make my job of determing who to ship stuff to easier.

Thanks to all who have offered their opinions.

the_Don
...making offers others can't rufuse.


In reply to Re: 850 EDI Help by the_Don
in thread 850 EDI Help by the_Don

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.