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.create:newExternalID
 
wm.tn.profile.create:newExternalID
Creates an empty external ID component for a profile.
Input Parameters
None.
Output Parameters
id
Document An uninitialized external ID, that is, all fields in the external ID are null. For the structure of id, see wm.tn.rec:ExternalID. For Java developers, this is an instance of a com.wm.app.tn.profile.ID.
Usage Notes
After using this service to create an empty external ID component, map or hardcode values into it before saving the external ID to the Trading Networks database.
*If you are adding the external ID to a new profile, leave the internal ID fields (InternalID and PartnerIDID empty. Trading Networks generates these internal IDs for you when you save the profile to the Trading Networks database.
*If you are adding the external ID to an existing profile, you must specify the internal ID field, InternalID, to identify the profile to which to add the external ID. Leave the internal ID, PartnerIDID, empty; Trading Networks generates this internal ID for you.