Examples

How To Load an 810 Invoice

In this tutorial we’ll discuss How load an 4010 810 Invoice.  The source code for this article in located in the ‘Load 810 Invoice’ sample .Net project in our FREE

Read More »

Combining EDI Data in NodeJS

In this tutorial we’ll discuss how to combine separate EDI data using the EDIFileJoiner component and NodeJS.  We can combine data at the Functional Group (GS) or the Transaction Header level (ST). 

Read More »

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

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

Read More »

How To Split EDI Files With .Net

But John, my EDI file is perfect!  It has the proper Interchange Header, Functional Group and Transaction Header.  My ISA segment length is exactly 106 characters!  You can’t touch it. 

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

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

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

Read More »

Verifying Element Data Formats

RDPCrystal EDI Library can validate any type of EDI element data.   By default elements can be of the following data types ID String Date Time Numeric Real Positive Numbers (

Read More »

Summary Balance Fields

In this tutorial we’ll discuss how to do Summary Balancing validation on EDI data. In some EDI transactions there is a top level segment that contains an element whose value

Read More »

How Does the EDIValidator Work

Let’s discuss how the EDIValidator component works.  EDIValidator is arguably one of the most important components in RDPCrystal EDI Library.  It takes two parameters, a validation rules file and an

Read More »

Use .Net To Validate EDI Data with Code Conditions

Background As you know the EDIValidator component uses rules files to validate EDI data.  You can specify rather complex conditions.  For example +SegPos[322] = if ((SegPos[316:1] == “R”) or (SegPos[316:1] == “S”)) then Usage[Required] else Usage[Optional] end This

Read More »

Become a super Programmer

Good is the enemy of greatThe difference between good programmers and great ones is that great programmers understand the fundamentals very, very well.  Sure reading Donald Knut is great but

Read More »

Detecting X12 EDI Delimiters

EDI Parsers must be able to understand data in EDI files in order to correctly parse them.  EDI data files can look complex, however they must adhere to certain rules. 

Read More »

X12 Segment Structure

EDI segments contain the basic units of data in an EDI file. In fact an EDI file contains only segments. In this article we will discuss the X12 segment structure

Read More »

What is EDI

The purpose of this article to give a brief overview of what EDI is in a simple and straightforward manner. If you’re reading this article that means that you’re either

Read More »