B2B Integration 10.2 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Doc Folder | Summary of Elements in this Folder | wm.tn.doc:addAttributes
 
wm.tn.doc:addAttributes
Adds custom attributes to a document.
Input Parameters
bizdoc
Object The document to which you want to add custom attributes. The document must be an instance of com.wm.app.tn.doc.BizDocEnvelope.
attrNames
String List The list of custom attributes to add to the document.
Overwrite
String Indicates whether the custom attributes from the supplied data should replace the custom attributes in the database. Valid values are:
*true - Replaces the custom attributes in the database with those in data.
*false - Appends the custom attributes in data to the custom attributes in the database.
Output Parameters
addCount
String The number of custom attributes that the service added.

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.