|
(You must have EDIdEv - Framework EDI - installed on your machine
to run the programs successfully. An evaluation copy can be downloaded at
www.edidev.com.)
Below are sample programs that
demonstrates how one can use Framework EDI to process EDI files in a
number of ways that can be useful in an EDI solution.
EDI
XML
Below is a zip file that has sample programs to demonstrate EDI to XML
conversion, generating an EDI message in XML format, and translating an EDI
message from an XML format.
EdiXml.zip
EDI X12 to
EDI UN/EDIFACT
Below is a sample program that reads an EDI X12 850
file and maps it to an EDI UN/EDIFACT ORDERS file.
Tran850_GenORDERS.zip
EDI X12
Splitter
Below is a sample program to demonstrate how one can separate the
Functional Groups of an EDI file into their own separate EDI files so that the
files can be forwarded to their respective departments for processing.
EdiSplitter
Excel to EDI
Below is a sample program using VBA in Excel to take data from the
spreadsheet and map it to an EDI file.
ExcelEdi.zip
EDI
Analyzer Tool
Below is a sample EDI tool that checks for errors in an EDI message
Analyzer.zip
NetAnalyzer.zip
(using FREDI-NET component)
EDI
Viewer (eFileManager)
Below is a sample program that parses an EDI document down to its basic
units, and displays them in a hierarchy tree similar to our eFilemanager.
VBeFilemanager.zip
Multiple
Trading Partners
Below is an example program that demonstrates how to translate different
types of EDI documents with different implementation guidelines from multiple
trading partners.
Tran_MultTradePart.zip
Send EDI Files
Below is a sample program that automatically creates a 997 acknowledgment
file when an EDI file gets loaded and sends the EDI file and 997 file by FTP to
a server and by SMTP (email) to a mailbox.
AckSend.zip
EDI to
HTML (EDI to Text)
Below is a sample program that translates an EDI X12
file, then outputs the contents into an HTM (text) file.
TranView.zip
(Save the trees!)
(EDI files should not have to be printed or dumped onto
paper. The contents of an EDI file should be mapped into a database or
another electronic file format upon receipt. To print out the contents of
an EDI file, beats the concept of EDI. Data should transfer
from one machine to another, free of human intermediary. You need not even
have to view it!
However, if your business process makes it essential to
view an EDI file before mapping it into a database, then dumping it into an HTM
file to view on a browser would have more advantages than paper, and at the same
time keeping the transaction paper-free.)
EDI X12
Reader
Below is a sample program, "EDIReader", that displays an EDI X12 file
in a more friendly layout without the EDI
structure and codes, but only the descriptions and values to make the EDI file
more readable.
EdiReader.zip
SampleSourceCodeMaker
A sample SourceCodeMaker that helps you
write source code from out of a sample EDI file (source code not available).
- SampleSourceCodeMaker
for EDI X12
- SampleSourceCodeMaker
for UN/EDIFACT
Click
here to download Framework EDI
Other Topics
EDIdEv provides programming examples for illustration only, without
warranty either expressed or implied, including, but not limited to, the implied
warranties of merchantability and/or fitness for a particular purpose. This
article assumes that you are familiar with the programming language being
demonstrated and the tools used to create and debug procedures. EDIdEv
support engineers can help explain the functionality of a particular procedure,
but they will not modify these examples to provide added functionality or
construct procedures to meet your specific needs.
|