Trading Networks 10.3 | Administering and Monitoring B2B Transactions | webMethods Module for EDI | Optional Inbound Processing When Using Trading Networks | Automatically Generating Functional Acknowledgments | Defining Processing Rules for Documents with Unacceptable FA Statuses
 
Defining Processing Rules for Documents with Unacceptable FA Statuses
Trading Networks provides the EDI Status custom attribute to indicate whether a document has an unacceptable FA status. When defining processing rules for documents with unacceptable FA statuses, use EDI Status in the criteria. For more information about how the EDI Status custom attribute is set, see information about handling documents with unacceptable FA statuses in Defining Actions Module for EDI Takes Based on FA Status.
Use the information in the following table to assist you in defining a rule to process documents with an FA status of unacceptable. For more information about defining processing rules, see the webMethods Trading Networks Administrator’s Guide for your release.
Processing Rule Tab
Description
Extended Criteria
Use 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. When a document has an FA status of unacceptable, the EDI Status custom attribute will be set to one of the following:
*Generate FA - Not Allowed
*Generate FA - Rejected
*Generate FA - Partially Accepted
*Generate FA - Accepted, But Errors Were Noted
The actual values available for the EDI Status custom attribute are based on how you set up automatic FA generation, specifically how you define acceptable and unacceptable FA statuses. For more information, see Defining FA Statuses as Acceptable and Unacceptable.
The following shows an example of how to set the extended criteria to select the processing rule for documents that have an unacceptable FA status of Rejected; that is, the value of the EDI Status custom attribute is set to Generate FA - Rejected. When specifying Value, be sure to use the exact combination of uppercase and lowercase characters.
Attribute
Operator
Value
EDI Status
Equals
Generate FA - Rejected
Important:
When you set up processing rules, you must set up a different processing rule for each unacceptable FA status. Do not list all possible values for the EDI Status custom attribute on the Extended Criteria tab. Trading Networks performs an AND operation for all custom attribute criteria. As a result, a document must exhibit all custom attribute criteria that you specify for Trading Networks to select the processing rule. If you define multiple rows for the EDI Status custom attribute, Trading Networks will never use the processing rule because a document will never have the EDI Status custom attribute set to more than one value.
Action
Use to define the actions that you want to take to handle EDI documents that have an FA status of unacceptable. 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.