Show/Hide Toolbars

When you want to delete a record that is a dependency for another record, you must first delete the record that has the dependency, then you can delete the dependency record. For example, if you want to delete a contact that is listed as the contact for a user, delete the user first. Then you can delete the contact. Because you must use the delete() method to perform the deletions, you must call UserService and ContactService.

However, if you want to delete a record that is a dependency for another record as part of an automated qualifier and action, you cannot delete both as part of the qualifier or action because both deletions cannot be part of the same transaction.