Contact Us

SuiteCommerce Error: When it is necessary to delete a website setup record, the SuiteCommerce Admin may receive an error message preventing its removal.

Error Message when deleting the Website Setup Record.

Error Message when deleting the Website Setup Record

No dependent records displayed on Dependent Records for SCA Demo page.

No Dependent Records displayed 

SuiteCommerce Error

Our customer needed to delete a domain record, but they only had one SuiteCommerce License provisioned to their account.

As discovered in this Anchor Group blog post, we needed to delete the Website Setup Record to free up the SuiteCommerce Domain License.

Typically, the Admin would delete the Website Setup Record from within the record and delete it in the Actions dropdown. 

Website Setup Record delete button shown.

Finding the Cause of the Error

Upon attempting to delete the website setup record in NetSuite, the Admin received an error notice saying that the record could not be deleted as it had dependent records. Here is how to find the possible cause of the error, and the message itself.

Step 1: Navigate to the Website Setup Record through Commerce > Websites > Website List.

Step 2: Under Actions Dropdown, hit Delete.

Step 3: Click the link to view the dependent records on the notice page. The Dependent Records page may or may not show linked records.

The actual text of the error:

This record cannot be deleted because it has dependent records.

Error Solution

The Website Setup Record is connected to many different records, and in this case, deleting the following records may resolve the error:

  • Configuration Record
  • Extensions Active on the current activation
  • Extension Activation
  • Domain Record

The process to delete these records is outlined below. After deleting all of these records in this order, attempt to delete the website setup record again.

Delete the Configuration Record

Unfortunately, there is no quick way to delete the record. To delete the Configuration Record, follow these steps:

Step 1: Navigate to Customizations > Lists, Fields, Records > Record Types. Scroll or search for SC Configuration.

Step 2: Select the List on the SC Configuration Record

Configuration Record with multiple steps to navigation.

Step 3: Edit the Configuration ID for the store you are trying to delete.

IMPORTANT: Be sure to save the Configuration JSON somewhere (OneNote / VSCode).

Step 4: Under the actions dropdown, select Delete.

After this, the Configuration Record is deleted.

Delete the Extensions Active

To delete the extensions active on the site, follow the process outlined in the “Deleting the Extension from the Extension Mech Record” section of this Anchor Group blog post.

This step needs to be completed before the 3rd section, “Deleting the Extension Activation”.

SC ExtMech Extension page with the Actions and Delete button highlighted.

Follow this process for all extensions that are currently activated on the site you are trying to delete.

IMPORTANT: Take a screenshot of all active extensions prior to deletion.

Delete the Extension Activation

In the last step, you deleted all of the individual extensions. Now it is time to delete the Extension Activation altogether. This follows a similar process to the one above, but deletes a different record. To delete the extension activations, follow these steps:

Step 1: Navigate to Customizations > Lists, Fields, Records > Record Types and scroll or search for SC ExtMech Activation.

Step 2: Select the List on the SC ExtMech Activation record. 

Configuration Record navigation through NetSuite.

Step 3: Edit the Activation ID for the store you are trying to delete.

Step 4: Under the actions dropdown, select Delete.

The activation should be deleted.

Delete the Domain Record

Easiest and last, delete the domain record.

Step 1: Navigate to Commerce > Hosting > Domains.

Step 2: Select the domain you want to delete and hit Edit.

Step 3: In the actions dropdown, select delete.

Close up view of domain page with Actions and Delete buttons.

Upon deleting these four records, you will be able to delete the Website Setup Record for our customer.

Related Articles: 

Got stuck on a step in this article?

We like to update our blogs and articles to make sure they help resolve any troubleshooting difficulties you are having. Sometimes, there is a related feature to enable or a field to fill out that we miss during the instructions. If this article didn't resolve the issue, please use the chat and let us know so that we can update this article!

Oracle NetSuite Alliance Partner & Commerce Partner

If you have general questions about SuiteCommerce or more specific questions about how our team can support your business as you implement NetSuite or SuiteCommerce, feel free to contact us anytime. Anchor Group is a certified Oracle NetSuite Alliance Partner and Commerce Partner equipped to handle all kinds of NetSuite and SuiteCommerce projects, large or small!

Horizontal Anchor Group logo orange anchor icon navy Anchor Group text

We are a premium SuiteCommerce agency that creates powerful customer portals. Unlike our competitors, we have already solved your problems.

Tagged with Troubleshooting