Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Dialog Window in Web NAV

(0) ShareShare
ReportReport
Posted on by 109

Hi!

My question is connecting to Reject work in Page - Manager Time Sheet (952). When you Reject work, I'm want to visit dialog window, when you write the reason for rejected work. But have big problem in Web Client, this library not supported in NAV 2017 and NAV 2013 only work client. With what I can replace it? Thank you so much! 

I'm use this for reject: 

Window - Microsoft.VisualBasic.Interaction.'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

IF NOT GUIALLOWED THEN BEGIN

END ELSE BEGIN

Text000 := Window.InputBox(Text001,Text002,'',100,100);

END;

*This post is locked for comments

  • Suggested answer
    ManishS Profile Picture
    ManishS 78 on at
    RE: Dialog Window in Web NAV

    Recommendation is to use a NAV page of type StandardDialog. You can see the standard page 232 which uses page 579.

    Secondly if still want to use then you can use DotNet type variable System Windows Forms.

  • markusweiland Profile Picture
    markusweiland 30 on at
    RE: Dialog Window in Web NAV

    Use a Page.

    An inputbox holds the transaction till the user has completed his answer. This causes a database lock for this time. VBA works only with the Windows Client.

  • Maria Jobin Profile Picture
    Maria Jobin 10 on at
    RE: Dialog Window in Web NAV

    Hi

     I am facing the same issue , do you get any solution for this ?

    Thanks in advance 

  • Suggested answer
    CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Dialog Window in Web NAV

    Hi,

    On Validate of Reject work you can write a code to run a page

    use PAGE.RUN() docs.microsoft.com/.../runmodal-function--page-

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Dialog Window in Web NAV

    The InputBox (VBA) is not supported. Why using this type of interaction? You can ask user input in different way in NAV (page, processingonly reports and so on).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,996 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,853 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans