Hello guys, I would like to share some important tips with you and sometime you might known these tips also you love C/AL coding and you would hate this area, which is error handling. So Let’s have a look of better error handling in Dynamics NAV
So may be you love if we have Try Catch statement to capture the errors. But we can have simple way to handle some error,
Mostly we are facing run time errors. For instance , you will have a calculation like AvgAmt := LineAmt / TotalValue ,What happens if TotalValue is zero ? Yes of course you will get an error which may you mostly familiar Divided by zero error.
I would appreciate your comments and suggestions please read full article here
So may be you love if we have Try Catch statement to capture the errors. But we can have simple way to handle some error,
Mostly we are facing run time errors. For instance , you will have a calculation like AvgAmt := LineAmt / TotalValue ,What happens if TotalValue is zero ? Yes of course you will get an error which may you mostly familiar Divided by zero error.
I would appreciate your comments and suggestions please read full article here