Manage B2B Location Codes
You can set up B2B location codes to identify ship-to and bill-to locations for inbound order-to-cash B2B messages.
You can use the codes as an alternative to providing the full ship-to and bill-to addresses. After you set up B2B location codes, then when an inbound order includes codes specified for the bill-to and ship-to locations, Collaboration Messaging Framework retrieves the addresses and includes them in the payload.
Add a B2B Location Code
Here's how you can add a B2B location code:
-
In the Collaboration Messaging work area, click Manage Customer Collaboration Configuration in the Tasks panel.
-
Select Order to Cash as the Collaboration Business Process, enter a Customer Name or a Customer Number, and search for your customer.
-
Select the row for the customer you want to associate with a trading partner and click Manage B2B Location Codes.
-
On the Manage B2B Location Codes page, click Add Locations.
The page displays customer sites that don't already have a location code associated with them.
-
Select the site you want and click Add.
-
Click Save and Close.
Edit a B2B Location Code
To edit a B2B location code for a customer site, click Manage B2B Location Codes, delete the row for your customer site, and add it again with a new B2B Location Code value.
Import B2B Location Codes
As an alternative to adding B2B location codes using the Manage B2B Location Codes tab, you can also import B2B locations using a CSV file.
The CSV file must have three columns of data with these column headers specified:
Column Header |
Description |
---|---|
CustomerNumber |
Identifies the customer number |
PartySiteNumber |
Identifies the customer site number |
LocationCode |
Identifies the B2B location code |
Collaboration Messaging Framework identifies the columns regardless of the order in which you enter them.
Here's how you upload the CSV file to import B2B locations:
-
In the Collaboration Messaging work area, click the Manage Customer Collaboration Configuration task.
-
Click Import B2B Location Codes.
-
Browse and select the CSV file, and click OK.
A message displays the scheduled process identifier, which you can use to review the status of the import process from Scheduled Processes.
-
On the Manage Customer Collaboration Configuration page, click Done.
Note: You can submit the process for importing B2B location codes only by using the Manage Customer Collaboration Configuration task > Import B2B Location Codes.
XPath to Include B2B Location Codes Payload
The list of XPath to identify where to include the B2B location codes in the payload so that the ship-to and bill-to addresses can be retrieved and included in the payload are:
Document |
Header or Line Level on Order |
Ship-To or Bill-To Code |
XPath of Inbound Message |
XPath of Transformed Message |
---|---|---|---|---|
Purchase Order - Inbound |
Header level |
Ship-to |
|
|
Purchase Order - Inbound |
Header level |
Bill-to |
|
|
Purchase Order - Inbound |
Line level |
Ship-to |
|
|
Purchase Order - Inbound |
Line level |
Bill-to |
|
|
Purchase Order Change Acknowledgment - Outbound |
Line level |
Ship-to |
|
|
Purchase Order Acknowledgment - Outbound |
Line level |
Ship-to |
|
|