May 2019
Intermediate to advanced
546 pages
12h 41m
English
When a user needs to delete records, the user needs to access Delete on the object that needs to be deleted. Records can be deleted using the delete operation, and you only need to pass it one parameter, the record ID. A deleted record is not permanently deleted. It stays in what is called the recycle bin for 15 days. This way, you can restore it if a mistake was made. Also, you need to be aware that the delete action supports cascading delete. This means that when you delete a parent record in a master-detail relationship, it will also delete its children.
If at least one of the children has failed to delete, the delete operation for the parent record will fail, as well. The undelete operation recovers the ...
Read now
Unlock full access