Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

How to create a condition while delete a line in listpart

Posted on by 22
How to create a condition while delete a line in listpart 
Categories:
  • Aarthi Madhavan Profile Picture
    Aarthi Madhavan 22 on at
    How to create a condition while delete a line in listpart
    while we creating a custom table it doesn't support to create a trigger OnBeforeDelete() it shows an error 'OnBeforeDelete' is not a valid trigger
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 68,757 Super User 2024 Season 2 on at
    How to create a condition while delete a line in listpart
    Hi, if you are checking before deleting, you can refer to the following code. (Just one of the solutions)
     
    Hope this helps.
    Thanks.
    ZHU

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,349 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,212 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans