wm.tn.profile.create:newDelivery
Creates an empty delivery method component for a profile.
Input Parameters
None.
Output Parameters
delivery | Document An uninitialized delivery method component; that is, all fields in the delivery method are null. For the structure of delivery, see wm.tn.rec:Delivery. For Java developers, this is an instance of a com.wm.app.tn.profile.Destination. |
Usage Notes
After using this service to create an empty delivery method component, map or hardcode values into it before saving the delivery method to the Trading Networks database.
If you are adding the delivery method to a new profile, leave the internal ID fields (
PartnerID and
DestinationID) empty.
Trading Networks generates these internal IDs for you when you save the profile to the
Trading Networks database.
If you are adding the delivery method to an existing profile, you
must specify the internal ID field,
PartnerID, to identify the profile to which to add the delivery method. Leave the internal ID,
DestinationID, empty;
Trading Networks generates this internal ID for you.