Punchout - Shipping & Billing Email Addresses
As of version 1.13.1
When POs are transmitted to suppliers via cXML a "ShipTo" and "BillTo" email address are included.
The "ShipTo" email address is generally used for order confirmations from suppliers and the "BillTo" email is where invoices are sent from suppliers. An example of where this appears in the cXML request to suppliers is included at the bottom of this article.
These emails can be configured to default in various ways in NetSuite.
Ship To Email
The Ship To Email can be set directly on the PO Record under the Punchout sub-tab.
This field can be set by a user manually or via a workflow. If it is left blank when the PO is transmitted back to the supplier, the App will look up a value and fill it in using the following in this sequence.
1) The "Shipping Email Address" found in the Global Punchout Configs found in the menus under Punchout -> Punchout Configs -> Global Configs. (Fig 1)
2) If there is no shipping email set globally, the employee email address is used based on the "employee" field on the PO.
Fig. 1
Bill To Email
The Bill To Email can also be set directly on the PO Record under the Punchout sub-tab.
This field can be set by a user manually or via a workflow. If it is left blank when the PO is transmitted back to the supplier, the App will look up a value from the "Billing Email Address" found in the Global Punchout Configs.
If there is no billing email set in the global configs, an error will be shown to the user and the PO will not be transmitted. Once a value is set the user can re-attempt to transmit the PO.
cXML Elements
"BillTo" and "ShipTo" email addresses as they appear in the cXML Purchase Order.
<ShipTo> <Address isoCountryCode="US" addressID="1"> <Email name="default">shipping@example.com</Email> ... </Address>
</ShipTo>
<BillTo> <Address isoCountryCode="US" addressID="1"> <Name xml:lang="en-US">ABC Company</Name> <Email name="default">ap@example.com</Email> ... </Address>
</BillTo>