Permanently Removing an Existing Object

To permanently remove an existing object, perform these steps:

  1. Use newView() to access the appropriate view object for programmatic access

  2. Find the object by id or find one or more objects using a view criteria, depending on your requirements

  3. Call the remove() method on the row or rows as needed

The changes will be saved as part of the current transaction when the user commits it.