web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Dialog Window in Web NAV

(0) ShareShare
ReportReport
Posted on by 115

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

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    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).

  • Suggested answer
    CDsilva Profile Picture
    4,188 on at

    Hi,

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

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

  • Maria Jobin Profile Picture
    10 on at

    Hi

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

    Thanks in advance 

  • markusweiland Profile Picture
    30 on at

    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.

  • Suggested answer
    ManishS Profile Picture
    86 on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans