web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Disable Delete Action for Pending Approval and Released Documents

(0) ShareShare
ReportReport
Posted on by

Hi,

I would like to know how to Disable Delete Action for Pending Approval and Released Documents in Finance. Is it possible to do that in Nav?

Please let me know how to do that?

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at
    RE: Disable Delete Action for Pending Approval and Released Documents

    Hi Achmad,

    Go to that page, and set the DeleteAllowed = No

    Hope it will solve your problem.

  • Suggested answer
    Suresh Kulla Profile Picture
    50,237 Super User 2025 Season 2 on at
    RE: Disable Delete Action for Pending Approval and Released Documents

    If you want to control that based on the status, then you need to add customization in the OnDelete Trigger to check the status and throw an error.  

    Adding this in OnDeleteRecord will check the status should be Open to delete the document.

    TESTFIELD(Status,Status::Open)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,267

#2
Sumit Singh Profile Picture

Sumit Singh 2,098

#3
YUN ZHU Profile Picture

YUN ZHU 1,766 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans