Options

Error handling againt a webservice call in NAV

SantanuNavSantanuNav Member Posts: 10
Hi Experts,

I have written a codeunit (in Microsoft Dynamics NAV 2016), and published it in Nav web service which is called by outside software. In case any error is generated during the call, how to track the same in the Nav and returned the meaningful response against the web service call.

Thanks in Advance.

Comments

  • Options
    SantanuNavSantanuNav Member Posts: 10
    Experts please reply.
  • Options
    ftorneroftornero Member Posts: 522
    You can use Try functions to catch the errors and deal with it accordly.

    vitntyxu1tfo.png


    Regards
Sign In or Register to comment.