Module for EDI 9.12 | Understanding EDI Concepts | Processing Inbound EDI Documents | Processing Rules for Inbound EDI Documents | Preprocessing Actions
 
Preprocessing Actions
You define default preprocessing actions in the TN document types for EDI documents. However, in the processing rule, you can override the default settings that are defined in the TN document type. If a preprocessing action fails, Trading Networks records the error and continues processing.
You can use the following preprocessing actions for EDI documents:
* Validate Structure. Validate the structure of the EDI document against your flat file schema. By default, the TN document types for EDI documents indicate that validation should not be performed.
* Check for Duplicate Document. Determine whether the document is unique; that is, has Trading Networks previously received the document for processing? By default, the TN document types for EDI documents indicate that this check should not be performed.
Module for EDI does not add module-specific logic to Trading Networks to perform this preprocessing action. When you use this preprocessing action, Trading Networks performs its standard logic for the function. For more information about preprocessing actions, see the Trading Networks Concepts Guide and the webMethods Trading Networks Administrator’s Guide for your release.
* Save Document to Database. Specify whether you want Trading Networks to save the document to its database. By default, the TN document types for EDI documents indicate that the content, attributes, and activity log information for EDI documents should be saved to the database.
Module for EDI does not add module-specific logic to Trading Networks to perform this preprocessing action. When you use this preprocessing action, Trading Networks performs its standard logic for the function. For more information, about preprocessing actions, see the Trading Networks Concepts Guide and the webMethods Trading Networks Administrator’s Guide for your release.
Note: You cannot use the Verify Digital Signature preprocessing action for EDI documents. This preprocessing action requires that values for the system attributes SignedBody and Signature be available to use to verify the signature. Values for these system attributes are not set for EDI documents.