Scenario
A user attempts to delete a pre-defined package but encounters the following error: “This record cannot be deleted, because it is referred to by other records.”
Steps to Reproduce
- Navigate to Setup > Accounting > Shipping > Packages tab.
- Select a Package.
- Click Remove.
- Click Submit.
Actual Result: The system displays the error: “This record cannot be deleted, because it is referred to by other records.”
Explanation / Solution:
Package types created under Setup > Accounting > Shipping > Packages can only be deleted if they are not associated with any existing records.
If the package has been used in any of the following, deletion will not be allowed:
- Item records
- Sales Orders
- Item Fulfillments
- Other related transactions
This restriction exists to preserve historical transaction data and maintain record integrity within NetSuite.
As a best practice, it is not recommended to delete package types that have already been used, as this may affect historical reporting and transaction references. Deletion is only possible after removing or deleting all related records where the package is used, including past transactions.
Currently, package types cannot be set to Inactive, since they are not treated as individual records that support inactive status.
________________________________________
If you find this information helpful, feel free to react or leave a comment on this post.