Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Profile Folder | Summary of Elements in this Folder | wm.tn.profile:getExtendedFields
 
wm.tn.profile:getExtendedFields
Retrieves a set of extended fields for a partner.
Input Parameters
partnerID
String The internal identifier of the trading partner for which to retrieve extended fields.
group
String The set of extended fields to retrieve. Specify the name of the field group associated with the extended files to retrieve. You can specify one of the following standard field groups or the name of a user-defined group that you defined using the wm.tn.dictionary:addFieldGroup service:
*Corporation - To retrieve Corporation extended fields.
*Contact - To retrieve Contact extended fields.
*Delivery - To retrieve Delivery extended fields.
*ID - To retrieve IDs extended fields.
*Address - To retrieve Addresses extended fields.
*Custom - To retrieve Custom extended fields.
Output Parameters
fields
Document List The extended fields that you requested to retrieve. Each extended field in the variable fields is in the format wm.tn.rec:Field. For the format, see wm.tn.rec:Field.
Usage Notes
There is, at most, one set of extended fields for each of the groups identified by group. Although a partner might have multiple contacts, there is only one set of extended fields for the Contact group. Similarly, there is one set of extended fields for the Delivery group, ID group, and Address group even though each of these groups can have multiple members.