Preprocessing Steps - Precisely_EnterWorks - EnterWorks - 11.0

EnterWorks Guide

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks
Precisely EnterWorks > EnterWorks
Version
11.0
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks Guide
Copyright
2024
First publish date
2007
Last updated
2025-01-07
Published on
2025-01-07T07:44:20.997000

This section provides instructions on how to process an EDI Mapping Specification file.

Processing sequence for processing an EDI Mapping Specification file:
  1. Load the EDI Specification into Memory
  2. Define output files (including headers) and set up staging buckets for each EDI Target File
  3. For each data element in the file:
    1. Read the data element and parse its data from the file
    2. For each output file:
      1. Check if the Data Element matches an EDI Section in any of the current EDI Section's parent EDI Sections, a sibling EDI Section to the current EDI Section, or a direct child EDI Section to the current EDI Section:
        1. If new EDI Section has a direct descendant to the EDI Section with Is Output Row and some data has been previously stored for the EDI Section with Is Output Row:
          1. Output contents of staging bucket in file.
        2. Clear the fields mapped from the new EDI Section all descendant EDI Sections
        3. Update the current EDI Section to the new EDI Section
      2. For each defined field in the current EDI Section or Is Inherited field from a parent EDI Section:
        1. If data element from the file matches qualified data element for the EDI Field (including current EDI Section)
          1. Extract the data by Data Position and place in staging bucket
      3. Next field.
    3. Next file.
  4. Next data element
  5. For each output file:
    1. If any staging bucket EDI Field in the Is Output Row EDI Section has been defined output the contents of the staging bucket to the file.
    2. Close the output file
  6. Next output file