B2B Integration : Trading Networks Built-In Services Reference : Doctype Folder : Summary of Elements in this Folder : wm.tn.doctype:add
wm.tn.doctype:add
Adds a new TN document type.
Input Parameters
type
Object The TN document type that you want to add. The TN document type must be an instance of a subclass of com.wm.app.tn.doc.BizDocType.
If invoking from a Java program, the document must be an instance of a subclass of com.wm.app.tn.doc.BizDocType. Otherwise, type should have the structured defined by wm.tn.rec:BizDocType.
Output Parameters
updateCount
String The number of TN document types that the service added. The following values indicate:
*1 - The service added the TN document type.
*0 - The service did not add the TN document type.
Usage Notes
If you are using an OEM version of the Trading Networks, you cannot add new TN document types. This service will fail in an OEM environment.
Copyright © 2016- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback