Hi friends,
One of our client has a requirement to customize this way. we need to continue the process after a system error occurs.
For example, if the length of code variable is '2' and the incoming data is of '3' (or the value assigned to the code variable is of length '3'), then the system throws the overflow error and the entire process stops. But we need to customize as such the entire process should not stop, it should continue the process after displaying the system error message. can any one suggest me on how this can be achieved. Kindly provide your suggesstions at the earliest, as this is very urgent.
Thanks in advance.
Regards,
Durga
0
Comments
i have given that code variable as an example. In navision if any system error occurs then the entire process gets stopped but my customization should not stop the process after the occurence of system error. The entire process should run without issues.
In other words my requirement can be said as below,
the system error should just be displayed as a warning to the users and should not stop the process.
kindly provide any suggessions to achieve this.
thanks ,
durga
System: "Attention! There's something wrong within your application or the way you handle it. Please do something!"
User: "Ok, I will ignore that stupid message and go on like before."
I think that is not what you want to achieve.
And people keep asking me why I still after so many years still have plenty of work fixing up Navision disasters. ](*,)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
That was also my original assumption, which is why I suggested increasing the field length, the next step being to add a flag to show there is an error and then having a user filter on the error lines and decide how to fix them.
but the next replies shows that this is not the case.
If it is "the error should be displayed, record skipped, and process must continue on next one..." than it is just language problem...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
And then, also check Documentation on Codeunit.RUN, GETLASTERRORTEXT, and CLEARLASTERROR.
... and you have been warned in the preceding posts. [-o<
I hear that. Fairly often I feel like my official title should be NAV Janitor.
CEO, Spare Brained Ideas, Göteborg, Sweden
New (April 2021) Getting Started with Microsoft Dynamics 365 Business Central Book Available: "Your First 20 Hours with Business Central"