Exception handling in navision

deepthi.v
Member Posts: 62
Hi ,
Iam new to navision ,i want to know about the exception handling in navision .please give me suggestions if any.
Thanks in advance,
Deepu.
Iam new to navision ,i want to know about the exception handling in navision .please give me suggestions if any.
Thanks in advance,
Deepu.
0
Comments
-
Hi
Our navision 4.0 is Object based language (menas not object oriented)
I think so we cannot handle Exceptions.
when the exception raise, we should manually handle..Regards,
srinivas
"Delighting Customers.... Through Delivery Excellence" .0 -
deepthi.v wrote:Hi ,
Iam new to navision ,i want to know about the exception handling in navision .please give me suggestions if any.
Thanks in advance,
Deepu.
There is no something like exceptions in NAV. If error is called, whole transaction is stopped and rolled back. No more code is processed.
Exception is construction likeif codeunit.run then
which will in case of error during the OnRun of the codeunit will not show the error to user but will result into False. If all is ok, result will be True. In versions prior to 5.0 you cannot get the error details, in 5.0+ you can use the GETLASTERRORTEXT system variable to read the text of the error which rolled back the process called in this construction...
And one thing: NAV is working without the exception handling and this is not the main thing you need to solve in NAV... and it is why all is so easy to customize...0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions