cancel
Showing results for 
Search instead for 
Did you mean: 
rampprakash

Restrict record deletion if child Record Available

Implementation Steps:

 

Consider we are having 2 Entities

  • Account  --> Parent
  • Opportunity --> Child 

Opportunity Table Contains Lookup to account Entity.

 

Now do the below steps to Restrict Account Deletion if any Opportunity Available

 

1. Navigate to https://make.powerapps.com

2. Click Dataverse

3. Select Tables

4. Open Account(in my scenario Account is Parent)

5. Click Relationship --> Open Account to Opportunity Relationship --> Click Delete Drop Down --> Select RESTRICT

 

rampprakash_0-1641545694772.png

 

If you tried to delete the Record you will get below error

 

rampprakash_0-1641546629775.png

 

 

 

That's it 🙂