Error due to dialog box while using webservices

hemantOnehemantOne Member Posts: 98
Hello experts,

I am using NAS -MSMQ for invoke webservices(.NET) in NAV 5.0.
My problem is that if in C/AL coding there is any Dialog box(like confirm) in standard codeunit and i want to use that codeunit by calling some function from webservices.I dont want to block that dialog box so what should i do..so that no exception generate to web user.

Thanks in advance.
Regards,
Hemant
They can conquer who believe they can
.

Comments

  • kapamaroukapamarou Member Posts: 1,152
    Have you used the GUIALLOWED in order to show/skip the dialog?
  • SogSog Member Posts: 1,023
    See if the following code helps
    IF guiallowed then
      dialog.show
    
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
  • hemantOnehemantOne Member Posts: 98
    Thanks guys,

    It works...
    Regards,
    Hemant
    They can conquer who believe they can
    .
Sign In or Register to comment.