BETTER ERROR HANDLING USING IF CONDITION IN DYNAMICS NAV

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

Comments

  • KishormKishorm Member Posts: 921
    Haven't you posted this already?

    I'm getting a feeling of déjà vu
  • shanabeywicremashanabeywicrema Member Posts: 53
    Oh kishorm, may be I have posted in wrong category. So I decided to post it on this category. I am really sorry if this post duplicate .

    navsupports.com
Sign In or Register to comment.