EDIdEv - Electronic Data Interchange Development      EDIdEv

Useful EDI Sample Programs

  EDI Tool for Developers

(You must have EDIdEv Framework EDI - installed on your machine to run the programs successfully.  Click here to download an evaluation copy.)

Below are just example programs to demonstrates how one can use the Framework EDI component to process EDI files in a number of ways that can be useful in an EDI solution.


Windows Service EDI Applications
Windows Service application examples that generates and acknowledges EDI files at intervals of 30 seconds.



Reading EDI files with MS Word
This example of a VB script macro using Framework EDI demonstrates how one can easily utilize MS Word to read and validate EDI files.  (How it works)


Creating a macro in MS Word in 5 minutes that reads and validates an EDI file.


EDI Mapper in Excel
This is an example of an Excel macro program in Visual Basic to demonstrate how one can easily transform an MS Excel spreadsheet into an EDI mapper for generating and translating small EDI files.  (How it works)



Excel to EDI 
More Excel macro programs to demonstrate how to generate and translate from and to an Excel spreadsheet.


Below is a sample program that converts an EDI file to XML.  Click here to view source code.



Below is a sample program that reads an EDI X12 850 file and maps it to an EDI UN/EDIFACT ORDERS file.



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.



Consolidate EDI files
Below is an example program that consolidates several EDI files into one.



Mask EDI files
Below is a program that masks the data in an EDI file, but maintains the file's overall structure.



Truncate EDI files
Having difficulty viewing a huge EDI file?  Below is an example program using the Framework EDI that can truncate an EDI file by specifying the number of segments you want while maintaining a valid EDI structure.



EDI Analyzer Tool 
Below is a sample EDI tool that checks for errors in an EDI message

(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.



EDI Files to Database
Below is a VS2010 C# example program that validates, acknowledges and translates different EDI files into an Access database.



Multiple Trading Partners
Below is a VB6 example program that demonstrates how to translate different types of EDI documents with different implementation guidelines from multiple trading partners.



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.



EDI to Text

  • TranView.zip - A sample program that translates an EDI X12 file into into an HTM file.
  • vbNetEdiToCsv - A sample programs that translates an EDI file into a CSV format text file.
  • A source code that converts an EDI file to a Text file (with XML structure).


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.



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 


The example programs provided in this article are for illustration only, and have no purpose other than to show software developers how to use the Framework EDI component in programming languages to process EDI files.  If you have any questions, don't hesitate to contact us:



  Evaluate Framework EDI

  Source Code Examples
    Business X12 EDI
    Transportation X12 EDI
    Education X12 EDI
    Web EDI Application
    Useful EDI Programs <
    Security X12.58
    EDI Transmission



  About EDIdEv LLC

EDIdEv - EDI Development