Announcements
No record found.
Hi,
Please let me know how to remove validation massages.
*This post is locked for comments
please explain a bit more with screenshot..
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.
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 .
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...?
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.
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..
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
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
TAHER_El_Mehdi 2
sliderxb 2
broberts 2