Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Doc Folder | Summary of Elements in this Folder | wm.tn.doc:persist
 
wm.tn.doc:persist
Saves the supplied document to the Trading Networks database.
Input Parameters
bizdoc
Object The document you want to save to the database. The document must be an instance of com.wm.app.tn.doc.BizDocEnvelope.
flags
Object (optional) Flags that specify the pre-processing actions for the document. If specified, the service uses the persist? flag to determine whether to save the document. The flags must be an instance of com.wm.app.tn.route.PreRoutingFlags.
Output Parameters
None.
Usage Notes
*This service saves the document only if it has not already been saved to the database.
*If flags is non-null, the service uses the persist? flag to determine whether to save the document. For the format of flags, see wm.tn.rec:PreProcessingFlags.