EDI Destination File

Overview

Astera’s EDI Destination File object provides the functionality to validate the data against the receiver’s trading partner profile and write the data to an EDI destination file.

In this document, we will learn how to configure an EDI Destination File object in Astera.

Video

Use Case

To understand how to write to an EDI Destination File object, we will utilize a use-case where an XML source containing an X12 834 message has been serialized with the help of an EDI Message Serializer object. We now want to write this serialized output to an EDI destination file.

To perform this task, we will use the EDI Destination File object in Astera.

Using EDI Destination File Object

  1. To access the EDI Destination File object, go to Toolbox > EDI > EDI Destination File and drag-and-drop the object onto the designer.

  1. Let’s auto-map the metadata fields along with the Text field onto it.

  1. Right-click on the EDI Destination File object’s header and select Properties from the context menu.

A configuration window will open, as shown below.

  1. Provide the File Path. This is where the EDI destination file will be saved.

The configuration window also includes other document settings options. Let’s go over them:

  • Partner Profile ­– Fetches all outbound maps based on the partner profile provided.

  • Test Indicator – Allows user to specify any testing/debugging/validation indicator that may be used in the header or control segment of the message.

  • Contains Multiple Transaction Types – If selected, this indicates the message has multiple transaction types in a single message, with each message having its own Functional Group Header and Trailer. If not selected, the transactions will be grouped into a single chunk.

  • Omit Byte Order Mark – If selected, this indicates that the destination file must exclude the byte order mark from the beginning of the EDI message.

After configuring the document settings options, click Next.

  1. The Config Parameters screen will open, where we can configure and define parameters for the Destination File and Trade Partner Profile file.

Use of Parameters eliminates the process of inserting hardcoded values and provides simplification in the deployment of flows. If the parameters are left empty, the default values defined in the Properties window are assigned for use.

Click Next, and a new window, General Options, will open. In this window:

  • Comments can be added.

  • General Options are given, which relate to processing of records in the destination file.

Click OK.

  1. The EDI Destination File object is now configured, and the destination file can now be created by running the Dataflow.

© Copyright 2023, Astera Software