Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Service Specifications | Summary of Specifications | wm.tn.rec:DupCheckService
 
wm.tn.rec:DupCheckService
Use this specification for duplicate checking services that Trading Networks is to invoke when using the Check for Duplicate Document pre-processing action in a processing rule.
Input Parameters
bizdoc
Document The document that is being processed by the processing rule. For the structure of bizdoc, see wm.tn.rec:BizDocEnvelope.
Output Parameters
duplicate
String Indicates if the document is a duplicate. The service returns either true or false for duplicate:
*true - The document represented by the BizDocEnvelope (in bizdoc) is a duplicate that Trading Networks has already processed.
*false - The document represented by the BizDocEnvelope (in bizdoc) is not a duplicate.
message
String (optional) When duplicate is true, you can supply a message that you want Trading Networks to record to the activity log for the BizDocEnvelope identified in the bizdoc input variable. Trading Networks only saves the message if the Save Document to Database pre-processing action indicates that activity log information is to be saved.
Usage Notes
For a description of duplicate checking services and information about how to create them, see the chapter about processing rules in webMethods Trading Networks Administrator’s Guide.