Skip to main content
Skip table of contents

Why do I see the error message "An error occurred while deleting the record. The O-Type record has been used and cannot be deleted." when trying to delete an Address Type?

This error can occur when attempting to delete a record in the Address Book. Even if the entry is not visibly linked to any active records, the system prevents deletion if the Address Type has been used in an invoice at any point.

Once an invoice is created, the system permanently retains its association with the Address Type in the database, even if the invoice has been reversed and deleted. As a result, the Address Type cannot be removed.

image-20250227-101026.png

To resolve this issue:

Set the existing Address Book record to Inactive – This ensures it is no longer used while preserving historical data.

Create a new Address Book record with the correct Type – This allows continued use with the correct configuration.

Since modifications to the Type field are not permitted after usage in an invoice, creating a new record is the best approach to maintain data integrity and avoid further system conflicts.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.