Skip to main content

Notifications

Community site session details

Community site session details

Session Id :

Restrict record deletion if child Record Available

Ram Prakash Profile Picture Ram Prakash 5,166 Super User 2025 Season 1

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 🙂 

 

Comments

*This post is locked for comments