B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Doc Folder | Summary of Elements in this Folder | wm.tn.doc:deleteDocuments
 
wm.tn.doc:deleteDocuments
Deletes documents that meet the specified criterion from the database. In addition to deleting documents, this service deletes the associated attributes, activity log entries, delivery tasks and relationships to and from this document.
Optionally, you can select to have this service delete documents that are related to the documents being deleted.
Input Parameters
docId
String (optional) The internal document ID of the document to delete.
systemStatus
String (optional) The system status of the document(s) to delete.
userStatus
String (optional) The user status of the document(s) to delete.
docTypeName
String (optional) The name of the TN document type that was used for the document(s) to delete.
deleteRelated
String (optional) Indicates whether to delete documents that are related to the document(s) being deleted. Valid values are:
*true - Delete the document(s) that match the specified criteria and the related document(s).
*false - Delete only the document(s) that match the specified criteria.
Output Parameters
updateCount
String Returns the number of documents that this service deleted from the database.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release