IDO Deletion Rules

For the deletion of IDOs, you can define zero or more rules. Rules are used to identify this information:

  • The IDO property or properties that are referenced by another IDO
  • The referencing IDO
  • The property or properties on the referencing IDO that correspond to the referenced properties

For each rule, you can specify one of these actions to take when one or more records match the rule definition for deletion:

  • Restrict: Aborts the deletion and displays a message indicating that the delete operation is not allowed

    For example: "Cannot delete record. At least one sales order exists for this customer."

    Note:  For Restrict actions, you must specify translatable application message strings to be substituted in the delete operation.
  • Remove: Allows the deletion but sets the referencing properties to NULL
  • Cascade: Allows the deletion but first deletes any referencing records (subcollections)

You can optionally specify this information:

  • Specify the translatable message to display to the end user if a delete is prevented
  • Supply a filter to further restrict the rows to which the delete policy applies