Index
Loading EDI Data
EDIFileLoader allows developers to load EDI data using the EDIDataString property.
Example
const edi = require(‘rdpcrystal-edi-library’);
let dataToLoad = “ISA*00* *00* ….”;
//Create a new EDIFileLoader
let fileLoader = new edi.EDIFileLoader();
fileLoader.EDIDataString = dataToLoad;
//Load EDI Data
let flatDoc = fileLoader.load();
The load() methods returns a EDILightWeightDocument