My Oracle Support Banner

How to delete child records when a check-box is selected on the parent record using Groovy? (Doc ID 2203035.1)

Last updated on FEBRUARY 08, 2019

Applies to:

Oracle Fusion Sales - Version 11.1.11.1.0 and later
Information in this document applies to any platform.

Goal

There is a business requirement that when a check-box found on a parent object is selected to automatically delete all related child object records.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
 There is a business requirement that when a check-box found on a parent object is selected to automatically delete all related child object records.

Solution
 Use below code in a Trigger On Parent Object Of type Before Update
  
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.