IDO deletion rules

You can define rules that govern what happens when you (or another individual) attempt to delete an IDO. These rules identify this information:

  • The IDO properties in this IDO that are referenced by another IDO
  • The name of the IDO that is referencing the IDO properties in this IDO
  • The properties on the referencing IDO that correspond to the referenced properties in this IDO
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.
  • Cascade: Allows the deletion but first deletes any referencing records (subcollections)
  • Remove: Allows the deletion but sets the referencing properties to NULL

Optionally, provide this information:

  • Specify the translatable message (Message Object Name) to display to the end user if the IDO deletion is prevented.
  • Supply a filter (Filter) to further restrict the rows to which the delete policy applies.