Trading Networks 10.3 | Administering and Monitoring B2B Transactions | webMethods Module for EDI | Optional Inbound Processing When Using Trading Networks | Defining Processing Rules to Handle Documents with Invalid Control Numbers | Defining the Processing Rule to Handle Documents with Invalid Control Numbers
 
Defining the Processing Rule to Handle Documents with Invalid Control Numbers
In My webMethods, use the Administration > Integration > B2B > Processing Rules page to define a processing rule for handling EDI documents with invalid control numbers. When you define a processing rule, you define the criteria that you want Trading Networks to use to select the processing rule, the preprocessing actions, and the processing actions. For more information about creating processing rules, see the webMethods Trading Networks Administrator’s Guide for your release.
The following table provides details about how to define the processing rules.
Processing Rule Tab
Description
Extended Criteria
To select EDI documents that Module for EDI rejected because it detected an invalid control number and the action to take was set to Reject, use the Extended Criteria of the Trading Networks processing rules. You can use the Extended Criteria to select documents based on the value of custom attributes. In this case, you select documents based on the value of the EDI Status custom attribute, as shown below.
To select documents with duplicate control numbers, specify:
Attribute
Operator
Value
EDI Status
Equals
Duplicate Control Number
To select documents with out-of-sequence control numbers, specify:
Attribute
Operator
Value
EDI Status
Equals
Out of Sequence Control Number
Important:
When specifying the value for extended criteria, be sure to use the exact combination of upper and lower case letters.
Pre-Processing
You should override the default preprocessing actions with the following:
Action
Description
Verify Digital Signature
Do not verify digital signature
Validate Structure
Do not validate structure
Check for Duplicate Document
Do not use Trading Networks check for duplication
Save Document to Database
Save
Note:
If you do not select to save the content, Module for EDI will automatically save the content so that you can reprocess the document. For more information about reprocessing, see Reprocessing EDI Documents with Invalid Control Numbers.
Action
Define the actions that you want to take to handle the EDI document containing the invalid control number. For example, you might select:
* Alert e-mail to send an e-mail message to notify an administrator of the problem.
* Execute a service to invoke a service that you create to perform processing. You might choose to write your own service to send an e-mail message or perform some other type of notification.