wm.tn.profile.create:newProfile
Creates a Profile with an empty Corporation, no Delivery Methods, no Contacts, no external IDs, and no Addresses.
Input Parameters
None.
Output Parameters
profile | Document An uninitialized profile; that is, all fields in the profile are null. For the structure of profile, see wm.tn.rec:Profile. For Java developers, this is an instance of a com.wm.app.tn.profile.Profile. |
Usage Notes
Use this service to create an empty profile. To create additional components for the profile (for example, Addresses, Contacts, Delivery Methods, External IDs), use the other
wm.tn.profile:create services that are described in this section. After you create the profile and the additional components that you want, you can save the newly created profile to the
Trading Networks database by invoking the
wm.tn.profile:addProfile service and passing it the newly created profile.
After creating the empty profile, map or hard code values into it before saving it to the
Trading Networks database.When assigning values to the fields in a new profile, leave all the internal ID fields (for example,
PartnerID,
ContactID,
DestinationID) empty.
Trading Networks generates the internal IDs for you when you save the profile to the
Trading Networks database.