Hi,
Please let me know how to remove validation massages.
*This post is locked for comments
Hi,
Please let me know how to remove validation massages.
*This post is locked for comments
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.
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
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..
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.
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...?
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 .
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.
please explain a bit more with screenshot..
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156