Updating an EDI document

Modify or update the status, description, options and properties of a business document. You can also edit EDI Schema for X12 and UN/EDIFACT business documents.

About this task

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 B2B generates appropriate validation errors in the Course of transaction. For information about how to set the validate option, see Predefined Operations in B2B connectors in webMethods Integration documentation.

Note:

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

Procedure

  1. In webMethods B2B, from the side navigation menu, click Assets > Business documents.
  2. Select an EDI document from the Business documents page.
  3. Update document properties, for a document that has a structure that is associated with it.
    1. Select the node in the document under the Document definition section and click on Document structure tab.
    2. In the Properties section, select the property to update.
    3. Modify the values for the properties.
      For a complete list of properties and their descriptions for records, composites, and fields, see EDI Document Properties.
  4. Click Update. Click Revert to revert the changes that are made to the document properties.
  5. Go to Attributes and select a node to which you want to add or modify an attribute to extract. For details about EDI document attributes, see Adding EDI document attributes.
  6. Click Update. Click Revert to revert the changes you made to the document attributes.
  7. Update Options and modify the following options to control the behavior of the business document.
    Options Description
    Enable processing rule routing Search for an appropriate processing rule and uses the rule to process the document.
    Validate document structure Validates the structure of the inbound document against the available schema.
    XML Documents
    This option is disabled for the business documents that are created by using a sample XML. This option is also disabled for documents that do not have a corresponding schema available on webMethods Integration. The structure of these documents cannot be validated against the schema.
    EDI Documents
    This option is available for all EDI documents along with the default EDI documents that are available with webMethods B2B.
    Persist document Saves the document.
    • Only unique documents. Save only unique documents to webMethods B2B.
    • All documents Save all documents.
    This following list describes the parts of the documents that you can save:
    • Content. Save only the content part of the document.
    • Attributes Save only the document attributes.
      Note: If you reprocess a document without saving document attributes, you might get unexpected results. Because if the attributes are not saved, the document does not match the intended processing rule. Instead, the document does match another processing rule, such as the Default rule, and webMethods B2B processes the actions that are defined in that rule.
    • Activity log Save only the activity logs of the document.
  8. Click Update.