Oneworld > Resolve “Invalid location reference key x for subsidiary x” when Adding Item to Cart

Scenario

One World accounts have the privilege to have multiple locations on different subsidiaries. Hence, the Site Builder/ SuiteCommerce Advanced web stores should be properly set up for the items to render properly.

Here are the settings to check to resolve “Invalid location key x(location internal id) for subsidiary x(subsidiary internal id)“.

Solution

1. Subsidiary setup

   1. Navigate to Setup Company Subsidiaries

   2. Edit the record of the referred subsidiary(refer to the internal id from the error)

   3. Subsidiary is Inactive = F

   5. Click Save

2. Location should be associated with the Subsidiary

   1. Navigate to Setup Company Locations

   2. Edit the record of the referred location(refer to the internal id from the error)

   3. The subsidiary field should match the subsidiary referred from the error

   3. Location is Inactive = F

   4. Make Inventory Available = T

   5. Click Save

3. Accounting Preferences should not be associated with a specific subsidiary

   1. Navigate to Setup Accounting > Accounting Preferences Order Management > Default Location for Sales Order field(leave it blank)

   2. Click Save

4. Website shopping should not have a Default Shipping Country

   1. Navigate to  Commerce Websites Website List > Edit website > Shopping subtab > Default Shipping Country field (leave it blank)

   2. Click Save

5. Associate Item to the subsidiary

   1. Navigate to List Accounting Items

   2. Edit the Item record

   3. Under the Classification section, select the referred Subsidiary from the list(subsidiary should match the webstore subsidiary)

   4. Click Save

6. Website setting for specific subsidiary

   1. Navigate to Commerce Websites Website List > Edit website

   2. On the Setup subtab, scroll down to the list of Subsidiary

   3. On the line record of the referred Subsidiary, set the following fields

       Default = T 

       Online = T

   4. Click Save

Leave a comment

Your email address will not be published. Required fields are marked *