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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to remove validation

(0) ShareShare
ReportReport
Posted on by 444

Hi,

Please let me know how to remove validation massages. 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    61,206 Super User 2026 Season 1 on at

    please explain a bit more with screenshot..

  • Suggested answer
    Binesh Profile Picture
    7,887 on at

    Hello,

    As per #Mohana you have to write more, from where you want to remove.

    Bye the way, Validation message mostly comes under OnValidate trigger.

    you can comment that code if you don't want, but we can't recommend, first give more details what you want, from where. 

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    Hi Shambhu,

    What error you are getting while processing transactions ? As the validation mostly occurs because of incomplete setup ,master data missing or because of any business logic written to follow certain conditions/scenarios

    You have provide us more details .

  • S Shambhu Profile Picture
    444 on at

    For example : In the Item card UOM is PCS. while creating order I was selected UOM is Nos and when I am Posting invoice item uom is pcs. So while posting sales invoice system giving validation for all uom should be same.

    I want to remove this validation. How...?

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    Generally, you can use debugger to find breakpoints of the verifications; then you will be able to comment this verification.

    How to use debugger:

    https://msdn.microsoft.com/en-us/dynamics/nav/dn833405.aspx

    https://msdn.microsoft.com/en-us/library/hh165356(v=nav.90).aspx

    https://msdn.microsoft.com/en-us/library/hh166309(v=nav.90).aspx

    However, verifications are done in the system intentionally, and it is advisable not to switch them off, otherwise you might have problems with your data in the future.

  • Suggested answer
    Mohana Yadav Profile Picture
    61,206 Super User 2026 Season 1 on at

    why do you want to remove these kind of validations?

    you need to think a lot before removing these validations. it may corrupt your entries..

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    Actually looking at your example it seems you have made field editable to tinker the data which is populated from master table and may be any customize validation has been built to avoid the changes

    Kindly activate debugger or take help of developer to check this

    I am strongly not recommending to breach the  validation as this will create mess in data and reporting and there will be no integrity in data

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at

    Even though Microsoft Dynamics allow you to modify the code, it is not a good thing to modify the code just because you want to skip a error. Those validations are in place due to  a reason and even if you by pass the validation you mention it will then trigger a another issue at some other time. It is always good to read the validation error properly and then try to fix it by correcting the error made during the data entry.  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans