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
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.
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.
Hi
I am facing the same issue , do you get any solution for this ?
Thanks in advance
Hi,
On Validate of Reject work you can write a code to run a page
use PAGE.RUN() docs.microsoft.com/.../runmodal-function--page-
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).
André Arnaud de Cal...
291,996
Super User 2025 Season 1
Martin Dráb
230,853
Most Valuable Professional
nmaenpaa
101,156