Trading Networks 10.7 | Administering and Monitoring B2B Transactions | webMethods Module for EDI | Forming EDI Documents to Send Outbound When Using Trading Networks | Delivering the Outbound EDI Document | Routing the Outbound EDI Document to Trading Networks
 
Routing the Outbound EDI Document to Trading Networks
 
Adding Logic to the Service that Forms the EDI Document that Routes through Trading Networks
Creating a BizDocEnvelope for the Outbound EDI Document
To route the EDI document through Trading Networks, the document goes back to Trading Networks processing rules, bypassing document recognition. Because the result of document recognition is a BizDocEnvelope that is sent to the processing rules and you are bypassing this step, you must form the BizDocEnvelope that you send to the processing rule. You send the BizDocEnvelope to the processing rules by invoking the wm.tn.route:routeBizdoc service. For more information about how to form the BizDocEnvelope, see Creating a BizDocEnvelope for the Outbound EDI Document.
Additionally, when you route a document through Trading Networks, if you want to use the functional acknowledgment (FA) reconciliation feature of Module for EDI, you must invoke the wm.b2b.editn:trackEDIdocs service. This service updates the EDITRACKING table that keeps track of Group documents and their corresponding FAs. To use the FA reconciliation feature, you must enable FA reconciliation on a per-partner-pair basis in the EDITPA. For more information, see FAReconciliation Variable. For more information about how to generate FA reconciliation reports, see Reconciling Functional Acknowledgments.