Working with Business Documents

webMethods.io B2B supports a comprehensive list of leading industry-standard EDI documents.

A list of group, envelope, and other native EDI documents appear as default documents on the webMethods.io B2B Business documents page.

EDI documents display information organized in the form of records, composites, and fields:

Record, composite, and field

Adding an EDI Document

Add new EDI documents to webMethods.io B2B based on the business needs.

Adding a document in webMethods.io B2B also adds it on webMethods.io Integration. Access these documents on webMethods.io Integration by using the EDI application.

To add an EDI document

  1. In webMethods.io B2B, go to Documents >Add Document >EDI.
  2. Select the following information as required.

Field Description
Standard The document standard from the list as required.
For a complete list of standard documents, see Supported Business Documents.
Version The version of the document standard selected.
Transaction The transaction type for the selected document standard and version.
Page Activities to perform
Document structure The document tree view displays the schema of the EDI document. Expand the document tree view and select a node to view the node-specific properties.
In the Document definition section, view and search a node by its name, alternate name, or by XPath, and edit its properties.
In the Properties section, change the properties associated with composites, records, and fields. For a complete list of properties, see EDI Document Properties.
Attributes A list of attributes of the default documents.
Options Document options that apply only when the processing rule has any of the preprocessing options set to Defer to business document.

Next steps

After you add an EDI document of standard type UNEDIFACT, ODETTE, or EANCOM, add a new document with control transaction (CONTRL) for the corresponding standard and version. From the EDI document page, select CONTRL from the Transaction drop-down. This is important to successfully generate and send a functional acknowledgment (FA) to partners. An FA is a type of EDI transaction set that acknowledges the receipt, as well as the structural and syntactical validity of an EDI document.

For example, if you add a UNEDIFACT document of version 02B and transaction type BALANC - Balance message, to add a document with control transaction for this EDI document, perform the following steps:

icon

  1. In webMethods.io B2B, go to Documents>Add Document >EDI.
  2. Select the following values for these fields:

Field Value
Standard UNEDIFACT
Version 02B
Transaction CONTRL

Updating an EDI Document

Modify or update the following aspects of a business document:

The document properties impact the behavior of each node in an inbound document. For any inbound document that deviates from the properties set for each node, webMethods.io B2B generates appropriate validation errors in the Course of transaction. For information on how to set the validate option, see the webMethods.io Flow Editor Online Help for the Electronic Data Interchange application.

The updates to a business document on webMethods.io B2B are propagated to the webMethods.io Integration instance. Access these documents by using the EDI application on webMethods.io Integration.

To update an EDI document

  1. In webMethods.io B2B, go to Documents.
  2. Select an EDI document from the Business Documents page.
  3. Update document properties.
    To update the document properties, for a document that has a structure associated with it, as follows:
    1. Go to Document structure and select the node in the document under Document definition section.
    2. In the Properties section, select the property to update.
    3. Modify the values for the properties as required.
      For a complete list of properties and their descriptions for records, composites, and fields, see EDI Document Properties.

    The EDI document is updated to include the modifications.

    Customizing the EDI Schema

    You can create custom EDI documents based on standard formats (X12 and UNEDIFACT), including the ability to specify versions and transactions. This allows for the modification of the document structure without changing the original format by leveraging existing EDI standards (X12 and UNEDIFACT), versions, and transactions while referring to previous modifications. This capability facilitates the reuse of customized document structures based on partner specification without changing the original document.

    Pre-requisite: You must have administrator privilege to perform this activity.

Configuring Flat File Document Options

  1. On the Options page, specify the following details:

Next Steps

Modify or update the Flat File:

  1. In webMethods.io B2B, go to Documents.
  2. Select a Flat File document from the Business Documents page.
  3. Click Edit Document to modify the document name and its description.
  4. Click Update.

Using Custom Properties to Recognize Flat Files

Recognize and process inbound Flat File documents and send them to business partners.

Understanding Custom Properties

The Custom properties you define in the Advanced properties of an inbound channel can be used to recognize and identify the incoming payload of a Flat File document. To use the custom properties for flat files, add them as identifiers or attributes in the corresponding Flat Files.

For more information about these properties, see Supported Channel Types and Details.

User Roles and Privileges

Before You Begin

Create at least one inbound channel to receive inbound Flat File documents from a trading partner.

Using the Custom Properties that are Defined in the Advanced Properties of an Inbound Channel

icon

  1. On the Channels page of an inbound channel, go to the Advanced tab.
  2. In the Custom Properties section, click to add a new property.

webMethods.io B2B uses these properties to recognize the incoming document. Use them either as identifiers or attributes, to extract to perform transformations.

    In the Flat File document, go to the Identifiers page, add an identifier to recognize the incoming Flat File document. This identifier must also exist in the user-defined properties of the inbound channel.

Important: The key-value pairs are case-sensitive and must be a unique set.

Visual Model

The below visual illustrates the flow:

Resubmitting Flat Files

For details on the behavior of flat file resubmission, see Editing and Resubmitting a Business Document.

XML Documents

In webMethods.io B2B, create and define XML documents by referring to an existing document type in webMethods.io Integration.

The Business documents page displays a list of documents that are available in webMethods.io B2B. You can:

In webMethods.io B2B, define various document properties and use them when you create an XML document.