1SYNC Module Version 6.5 SP2.September 2008 | Understanding and using webMethods 1SYNC Module | Installing and Using 1SYNC Module | Defining TN Document Types | What Are TN Document Types?
 
What Are TN Document Types?
TN document types are definitions that tell Trading Networks how to identify a type of business document, specify the attributes that Trading Networks is to extract from the business document, and specify options for pre-processing the business document.
When the webMethods 1SYNC Module receives a business document from a back-end system, it invokes a Trading Networks service to recognize the type of business document by using the TN document types that you define. The TN document types received from the back-end system can be either TN flat file document types or TN XML document types.
Note:Trading Networks also can receive an Integration Server publishable document from a back-end system. For more information, see the webMethods Integration Server Administrator’s Guide for your release.
During outbound mapping, regardless of which TN document type that the outbound business document is, 1SYNC Module converts the business document to a TN XML document type, which is the type of business document that the 1SYNC Module sends and receives from 1SYNC.
1SYNC Module sends a Request TN XML document type to 1SYNC. The 1SYNC Module can receive either a Response TN XML document type or a CatalogItemNotification TN XML document type from 1SYNC. These TN SML doucment types are created in Trading Networks when you install 1SYNC Module.
When Trading Networks recognizes the TN docment type of a business document, Trading Networks extracts specific pieces of information from the business document, based on the document attributes specified in the TN document type, and performs pre-processing actions against the business document. The pre-processing actions indicate whether Trading Networks is to verify the document's digital signature, validate the structure of the document, determine whether the document has been received before, and/or save the document to the Trading Networks database. For more information about TN document types, see the webMethods Trading Networks Administrator’s Guide for your release.
This chapter provides the following information about TN document types:
*Provides information about defining your own TN document types
*Describes the TN XML document types that Software AG provides
*Provides the information extracted from TN document types
*Provides the XML queries used to extract attributes from a business document
*Provides the valid values for the UserStatus attribute