Trading Networks 10.3 | Administering and Monitoring B2B Transactions | webMethods Module for EDI | Preparing to Process Inbound Non-TRADACOMS Documents Using Trading Networks | Defining Processing Rules to Process Inbound EDI Documents | Specifying Processing Rule Criteria
 
Specifying Processing Rule Criteria
When you create a processing rule, you specify the criteria that Trading Networks uses to select the appropriate processing rule for an Interchange, Group, or Transaction document. The following table lists the criteria you can specify.
Use this criterion...
To have Trading Networks select a processing rule based on...
Sender
The sender of the document
The GSRouting/routingMode and GSRouting/senderQualifier EDITPA variables can affect the sender that Module for EDI uses for an interchange, group, and transaction. For more information, see GSRouting Variables.
Receiver
The receiver of the document
The GSRouting/routingMode and GSRouting/receiverQualifier EDITPA variables can affect the receiver that Module for EDI uses for an interchange, group, and transaction. For more information, see GSRouting Variables.
Document Type
The TN document type for the document
Use this criterion to process a document based on whether it is an Interchange, Group, or Transaction document. The following are example settings:
To select a processing rule for document type...
Set Document Type to...
ANSI X12 interchange
X12 Envelope
ANSI X12 group
X12 Group
ANSI X12 850 transaction, version 4010
X12 4010 850
UN/EDIFACT interchange
UNEDIFACT Envelope
UN/EDIFACT group
UNEDIFACT Group
UN/EDIFACT ORDERS transaction, version 99A
UNEDIFACT 99A ORDERS
Recognition Errors
Whether Trading Networks or the EDI recognizer encountered any errors during the recognition process
Extended Criteria
The value of custom attributes
For example, on the Extended Criteria tab of the Processing Rules Detail screen, you might specify that the EDI Processing Mode attribute must be Production to select the processing rule. For more information about the custom attributes that Module for EDI sets, see Custom Attributes that Module for EDI Sets. For information about how to set your own custom attributes, see Managing Custom Attributes for EDI Documents.
Note:Module for EDI does not set the User Status system attribute, so you should not use the User Status criterion.