Creating Envelopes to Use with EDI Translation Business Processes

A document envelope consists of control information that enables organizations to effectively exchange messages. This information is added in headers and trailers to messages. Document envelopes are specific to the EDI protocol used.

What You Need to Do

The following tasks are required to use the EDI Translation business processes:
  • You must create document envelopes to use the predefined EDI Translation business processes.
  • For inbound EDI data, you need to provide the name of the map in the incoming document (transaction-level) envelope.
  • You need to specify the appropriate data extraction options in the envelope. The following parameters are displayed for any envelope that causes data to be generated, and they are particular important to ensure you have configured EDI translation to run smoothly with the predefined business processes.
Field or Check Box Description
Extraction Options Business process data extraction. Valid values:
  • Determined by business process (default) - Select this option and the corresponding Business Process to extract to an AS2 (EDI Outbound AS2 Send Extraction) or B2B location (EDI Outbound B2B Send Extraction).
  • Extract to a file system directory - This option displays another page which enables you to select the folder (directory) and file name.
  • Extract to a mailbox - This option displays another page which enables you to select the mailbox and message name.
Data Extraction Directory Directory for data extraction. Displayed only if Extraction Options set to Extract to a file system directory.

If you leave this parameter blank, the folder used is the default mailbox extraction folder specified in the business process.

Data Extraction Filename Filename for data extraction. Displayed only if Extraction Options set to Extract to a file system directory.

If you leave this parameter blank, the filename used is the default one associated with the primary document.

This parameter supports the use of the following substitution tokens which are replaced with real values when the filename is generated during enveloping:
  • %y (2 digit year)
  • %Y (4 digit year)
  • %m (month name)
  • %M (month as a decimal number)
  • %d (day name)
  • %D (day of the month as a decimal number)
  • %H (hour in 24-hour format)
  • %N (minutes)
  • %S (seconds)
  • %P (process ID)
  • %K (document ID)
Data Extraction Mailbox Mailbox for data extraction. Displayed only if Extraction Options set to Extract to a mailbox.
Data Extraction Mailbox Message Name Mailbox message name for data extraction. Displayed only if Extraction Options set to Extract to a mailbox.
This parameter supports the use of the following substitution tokens which are replaced with real values when the mailbox message name is generated during enveloping:
  • %y (2 digit year)
  • %Y (4 digit year)
  • %m (month name)
  • %M (month as a decimal number)
  • %d (day name)
  • %D (day of the month as a decimal number)
  • %H (hour in 24-hour format)
  • %N (minutes)
  • %S (seconds)
  • %P (process ID)
  • %K (document ID)