One-time Ship-to Address
A shipment does not always go to an address that you want to keep as master data. With document addresses enabled, you enter a one-time ship-to address directly on the shipment, including contact, phone number and e-mail, without creating a permanent address record. The one-time address can be printed on ZPL labels, exchanged in data integration messages, and entered and shown through the Web Portal.
Prerequisites
- On the Address Setup page, tab Document Address, switch on Use Document Addresses (WMS). Without this setting the field on the shipment is hidden and the Web Portal function Edit Document Address returns an error.
Enter a one-time ship-to address on a shipment
- Open the shipment. Next to Ship-to Address No. the field One-time Ship-to Address is shown. It is empty as long as the shipment has no one-time address.
- Click the field. The Document Address Wizard opens.
- In step Enter Address Details, fill in Name (required), Address, Address 2, Post Code, City, County and Country/Region Code. Post code and city fill each other when available. The contact details Contact, Phone No. and E-Mail are optional.
- In step Link to Customer, optionally select the customer to narrow the search for matching addresses.
- In step Link Existing or Create New, the wizard shows matching addresses. Select one to link the shipment to that permanent address, or choose Create New Address to save the entered details, including the contact details, as a new permanent address. To keep the address a one-time address, click Next.
- In step Confirm and Finish, check the summary and click Finish.
The field on the shipment now shows the address. Click it again to open and change the same document address; a shipment has at most one one-time ship-to address. When the shipment is posted, the document address is kept on the posted shipment, including contact, phone number and e-mail.
Note
The lookup on Ship-to Address No. only selects a permanent address. To enter or change a one-time address, use the One-time Ship-to Address field.
Print the one-time address on ZPL labels
The ZPL value function Get ZPL Code for Ship-to Address (GETZPLSHIPTOADDRESS) has the parameter USEDOCADDRESS (default false). With USEDOCADDRESS = true the function returns the one-time ship-to address when the shipment has one, and otherwise the ship-to address as before. Combined with ONLYCODE = true it returns the linked address number of the document address. See ZPL Layouts.
Exchange the one-time address in data integration messages
Outbound
The outbound message types SND-RECEIPT, SND-POSTED-RECEIPT, SND-SHIPMENT, SND-POSTED-SHIPMENT, SND-SHIPMENT-CARRIER and SND-SHIP-CARR-DIRECT have the parameter EXPDOCADDRESS (default NO). With YES, each document contains a DocumentAddresses element with one DocumentAddress per one-time ship-to address, directly after the consignee address. With NO the messages are unchanged.
| Element | Content |
|---|---|
AddressType |
Always ShipTo. |
Status |
Status of the document address. |
LinkedAddressNo |
Address number when the document address is linked to a permanent address. |
ExternalNo |
External address number. |
Name, Address, Address2, HouseNo, PostCode, City, County, CountryRegionCode |
Address details. Posted messages do not contain HouseNo. |
Contact, PhoneNo, Email |
Contact details. |
Inbound
The message type RCV-SHIPMENT has the parameter IMPDOCADDRESS (default NO). With YES, a DocumentAddresses/DocumentAddress element with AddressType ShipTo and a Name creates the one-time ship-to address on the imported shipment. LinkedAddressNo links it to an existing address and HouseNo fills the house number. Sending the same document again with a changed address replaces the one-time address. The XSD schemas contain DocumentAddresses as an optional element, so existing messages stay valid. See XML Example of RCV-Shipment.
Enter and show the one-time address through the Web Portal
Two form functions in the category 3PL WMS WP are available for form stages:
- Edit Document Address writes the one-time address to a WMS document. Parameters: System Id of the document (for example from the New Shipment stage), Address Field Name (leave empty for the ship-to address, or enter another address field such as
Sender Address No.), Linked Address No., Name, Address, House No., Address 2, Post Code, City, County, Country/Region Code, Contact, Phone No., E-Mail, Home Page and Delete Address. An existing document address for that field is replaced; with Delete Address it is removed. The portal user must have access to the customer of the document. - Get Document Address returns the same fields plus Compact Address, the single-line text that is also shown in the One-time Ship-to Address field.
- Get Shipment and Get Receipt return Ship-to Address Name, Ship-to Address Address and Ship-to Address City from the one-time address when the document has no Ship-to Address No..
Related information
- Manage Document Addresses (FMS) describes the same wizard for forwarding documents.
- Addresses for permanent address master data.