B2B Integration 10.5 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Query Folder | Summary of Elements in this Folder | wm.tn.query:createProfileQuery
 
wm.tn.query:createProfileQuery
Creates a query for partner profiles in the Trading Networks database.
Input Parameters
corpName
String (optional) The corporation name of the trading partner(s).
unitName
String (optional) The unit name of the trading partner(s).
status
String (optional) The status of the trading partner(s). Valid values are:
*Active To match only active partner profiles.
*Inactive To match only inactive partner profiles.
For more information, see wm.tn.profile:changeStatus.
externalIDType
String (optional) The external ID type (e.g. DUNS). You can query only one external ID type with this service.
externalIDValue
String (optional) The value for the specified external ID type.
groupName
String (optional) The group name of the trading partner(s).
city
String (optional) The city in the address.
state
String (optional) The state or province for the address.
zip
String (optional) The zip code or postal code for the address.
country
String (optional) The country for the address.
extendedFields
Document List (optional) The extended fields criteria to match. For each extended field, specify an IS document (IData object) in this parameter with the following structure:
*fieldId - The internal ID that uniquely identifies the extended fields to use in the criteria. You can query only extended fields of type String.
*op - The operation to use in matching partner profiles. For a String data type, select one of the following:
*=
*<>
*IS NULL
*IS NOT NULL
*CONTAINS
*fieldValue - String The extended fields to match. This service uses this parameter together with the op parameter to perform the match.
Note: If you specify IS NULL or IS NOT NULL, fieldValue is not required.
username
String (optional) User name of the user mapped to the profiles to retrieve.
Output Parameters
query
Object An instance of com.wm.app.tn.db.EventQuery.

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.