Creating Loops – JS

Index

    Creating Loops

    Loops are the logical groups of segments. Once an EDILightWeightDocument is created loops can be added.

    Example

    const edi = require(‘rdpcrystal-edi-library’);
     
    let doc = new edi.EDILightWeightDocument();
     
    let interchangeLoop = doc.createLoop(“Interchange header”);

    Now segments can be added to the interchangeLoop

    in EDI Lightweight Document – JS
    Did this article answer your question?