Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Answered

(On-Prem BC14 Spring Release) How to restrict mass record deletion?

Posted on by 70

Hello all,

We are a small shop running Dynamics NAV BC14 On-premise, and I'm relatively new to the NAV environment.  Recently we had one of our new folks in Finance mess up and mass delete (1500+) records en mass. They thought the "view" they open was only applicable to them and was a report. After 4 hours of me getting everything back, I'd like to prevent this from happening again, by implementing a "pop-up" are you sure you want to delete "X number" of records and also limit no more than say 5 records at once.

Is this even possible?

Cheers,

Dave

  • WABGOR_Dave Profile Picture
    WABGOR_Dave 70 on at
    RE: (On-Prem BC14 Spring Release) How to restrict mass record deletion?

    As this seems to be out of my scope and will require some .json work, it appears I will have to reach out to our NAV partner to have this completed. Thanks YUN!

  • Verified answer
    WABGOR_Dave Profile Picture
    WABGOR_Dave 70 on at
    RE: (On-Prem BC14 Spring Release) How to restrict mass record deletion?

    Thanks Yun, I'll look into setting this up. and testing by the end of the week.

  • YUN ZHU Profile Picture
    YUN ZHU 69,657 Super User 2024 Season 2 on at
    RE: (On-Prem BC14 Spring Release) How to restrict mass record deletion?

    Hi, I think it is possible. You can add the Count function to the OnBeforeDelete (Table Extension) Trigger of the table, prompt an error when the number is greater than 5.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans