Aaron McCausland
04/25/2025, 7:14 PMThis record cannot be deleted, because it is referred to by other records.
How do I find out what other records are referring to it in a way that prevents me from changing the ID, so that I can resolve that dependency and change the ID? I may also need to copy the dependent objects to the target account that I want to copy this field to, beforehand.Celigo AI
04/25/2025, 7:14 PMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** When you encounter the error
This record cannot be deleted, because it is referred to by other records.
while trying to change the ID of a custom entity field, it means that there are other records in the system that are referencing this field.
Here are some steps you can take to resolve this issue:
1. Check for Dependent Records: NetSuite usually provides a link to view the dependent records when this error occurs. However, it's been noted that sometimes this link may not show all dependent records, especially if they are custom records.
2. Change the Field Type: Changing the field type of the custom field to something else (like a text field) can sometimes help. This action will delete all data in existing records that use this field. You will get a warning saying “Changing this custom field type will delete all data in existing records. Are you sure you want to do this?”
3. Inactivate Instead of Deleting: If you're unable to delete the field due to dependencies, you might consider inactivating it instead. However, this might not be possible if the field is still being referenced by other records.
4. Mass Update Records: If the field is being used in a large number of records, you could try doing a mass update to uncheck or remove the field from all of them. After this, you might be able to delete the field.
5. Check for Scripts or Workflows: There might be scripts or workflows running in the background that are referencing this field. You would need to update these scripts or workflows to stop referencing the field before you can delete it.
Remember, if you're copying this field to another account, you may also need to copy any dependent objects to the target account beforehand.
If none of these steps work, you may need to dig deeper into your account setup and customizations to find the source of the dependency.Celigo AI
04/25/2025, 7:15 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.845149696
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833982944
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.828469694
Celigo AI
04/25/2025, 7:15 PM