B2B Integration 10.5 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Dictionary Folder | Summary of Elements in this Folder | wm.tn.dictionary:getFieldGroups
 
wm.tn.dictionary:getFieldGroups
Retrieves the field groups defined for the trading network.
Input Parameters
None.
Output Parameters
groups
Object A java.lang.Hashtable that contains the field groups. The Hashtable is keyed by the String field group descriptions, and the values are the Short field group codes.
groupsByID
Object A java.lang.Hashtable that contains the field groups. The Hashtable is keyed by the Short field group codes and the values are the String field group descriptions.
descriptions
String List A sorted list of all field group descriptions, returned as a String[]. The list is sorted in ascending alphabetical sequence.
Usage Notes
The three output variables contain the same data presented three different ways.
1. If you have the field group description and you need its ID, use the Hashtable returned in groups.
2. If you have the field group ID and you need its description, use the Hashtable returned in groupsByID.
3. To present the groups sorted in alphabetical order, use the list returned in descriptions. Then use the Hashtable in groups to look up the corresponding ID for any String in the descriptions list.

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.