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

Announcements

No record found.

News and Announcements icon
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,172 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans