August 2019

RDPScript Tutorial

RDPScript is the new powerful EDI scripting language that allows you to express your business logic around EDI validation more elegantly.  It allows you to add custom validation rules in simple, natural way. In this tutorial we will demonstrate how to use RDPScript to add validation rules to an 5010 837 Professional EDI file.  We

RDPScript Tutorial Read More »

Combining EDI Data in .Net

In this tutorial we’ll discuss how to combine separate EDI files using the EDIFileJoiner component and C#.Net.  We can combine files at the Functional Group (GS) or the Transaction Header level (ST).  The basic flow is demonstrated in the diagram below. In this example we’re going to combine two files at the Transaction Header level.  This means

Combining EDI Data in .Net Read More »

Consuming EDI data with TypedDocuments and .Net

In this tutorial we’ll discuss how to consume loaded EDI data using TypedDocuments and C#.Net.  Once EDI data is loaded using either EDIValidator or EDIFileLoader that data is in memory and is available for use.  One possible usage is to save it into a database.  TypedDocuments provide an object oriented view over the EDI data and enables developers to access it with

Consuming EDI data with TypedDocuments and .Net Read More »

Creating EDI data with TypedDocuments and .Net

In this tutorial we’ll discuss how to create EDI data using  TypedDocuments and C#.Net.  TypedDocuments enable developers to use typed EDI objects to create data.  Instead of having to worry about arrays, indexes and strings we can create EDI data in a higher object oriented fashion. The Code Typed5010Document sampleEDIFile = new Typed5010Document(); //Or Typed4010Document // Puts the

Creating EDI data with TypedDocuments and .Net Read More »

How To Generate a 999/997 Acknowledgement EDI Data Using NodeJS

In this tutorial we’ll discuss how generate a 999 or 997 Acknowledgement EDI using NodeJS.  After validating EDI data using the EDIValidator component acknowledgment data can be generated. EDIValidator takes two parameters, a validation rules file and the EDI data to validate.   The overall validation process looks like the diagram below.     A validation rule file

How To Generate a 999/997 Acknowledgement EDI Data Using NodeJS Read More »

Creating EDI data using NodeJS/JavaScript

Creating EDI data is simple using the EDILightWeightDocument component. Simply create an instance, set its loops and segments, and call its generateEDIData() method. The EDILightWeightDocument structure is based on a loop hierarchy. Loops contain segments and other loops. Segments contain elements. Elements contains data and composite elements. This example creates an EDILightWeightDocument instance, set its

Creating EDI data using NodeJS/JavaScript Read More »

Validating Typed Documents

In this tutorial we’ll discuss how to validate Typed Documents as we’re creating them. Typed Documents allows you to create EDI documents using high level objects and an easy to understand structure.  Please read this blog if you want to learn how to use Typed Documents to create EDI files. After creating a Typed Document

Validating Typed Documents Read More »