Below are example programs to demonstrate how one can use the Framework EDI component to process EDI files in several ways that can be useful in an EDI solution. You must have EDIdEv Framework ED installed on your machine to run the programs successfully.
Windows Service application examples that generates and acknowledges EDI files at intervals of 30 seconds.
WindowsServiceProgs.zip
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)
WordEdiTran.zip
[フレーム]
Creating a macro in MS Word in 5 minutes that reads and validates an EDI file.
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)
ExcelMapper.zip
More Excel macro programs to demonstrate how to generate and translate from and to an Excel spreadsheet.
EdiXml.zip This is an example program that converts an EDI file to XML. Click here to view source code.
cSharpEdiXml.zip This is a C# example program that shows how to converts an EDI file to XML as well as convert XML to EDI.
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
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
Below is an example program that consolidates several EDI files into one.
ConsolidatingEdiFiles
Below is a program that masks the data in an EDI file, but maintains the file's overall structure.
EdiMask
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.
EdiTrunc
Below is a sample EDI tool that checks for errors in an EDI message
AnalyzerCSharp.zip (C# with Event handling)
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
Below is a VS2010 C# example program that validates, acknowledges and translates different EDI files into an Access database.
EdiFilestoDB.zip
Below is a VB6 example program that demonstrates how to translate different types of EDI documents with different implementation guidelines from multiple trading partners.
Tran_MultTradePart.zip
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
Below is a sample program, "EDIReader", that displays an EDI X12 file in a more readable layout without the EDI structure and codes, but only the
descriptions and values to make the EDI file more readable.
EdiReader.zip
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: