Error : '[Code=UNIQUE_CUST_ID_REQD] A customer record with this ID already exists. You must enter a unique customer ID for each record you create. To correct this record, enter a new customer ID in the Customer field.

Error : '[Code=UNIQUE_CUST_ID_REQD] A customer record with this ID already exists. You must enter a unique customer ID for each record you create. To correct this record, enter a new customer ID in the Customer field.

The reason why this or similar orders got rejected by NetSuite

It seems that a customer record with this "NetSuite Internal ID" already exists inside NetSuite, as a result, our app couldn't sync this order to NetSuite.

There could be two methods to fix this error:

Method 1

Step 1:

  1. Open NetSuite and from the top-navigation pane click on the Setup > Company > Auto-Generated Numbers
  2. Inside the Entities sub-tab, make sure to (check/enable) the (Customer Type & Allow Override) fields
  3. Once, done save the changes

Step 2:

  1. Open the Robust NetSuite Integrator, and go to the Order Log page
  2. In the Order ID field, enter the Order ID of this rejected order, and hit the Search button
  3. In the action tab, click on the Re-submit button
  4. Upon, successful re-submission, you will see the status of this order changed to Accepted by NetSuite

Method 2

In our Robust NetSuite Integrator, we have got a functionality in the configuration page where you can add prefix or suffix as per your convenience in case we have a Duplicate Customer Entity (If):



NetSuite keeps customer entity id as customer name or company name, but whenever any customer details contain the same company name or same customer name then NetSuite does not create a customer with a duplicate entity id. In that case, we add some prefix or suffix value in customer entity id just to avoid duplicate entity and create a customer on NetSuite successfully.

By Default, it is selected as "NO".  You can select the drop-down either BY PREFIX or BY SUFFIX as per your requirement.

In case, you have any questions OR suggestions, feel free to reach out to us at help@webbeeglobal.com.