Month: August 2019

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 »