The input method is obsolete - running codeunit in NAV 2013 R2

Hello,

Is there any changes in dialog.input in NAV2013 R2? I encounter the error “The input method is obsolete.”

I think dialog.input is not working anymore. My sample code below:

OnRun
vDialog.OPEN(‘Enter Date #1########### (mm/dd/yyyy)’,vDate);
vDialog.INPUT(1,vDate);
vDialog.CLOSE;

vDialog = dialog

vDate = Date

check this

http://www.mibuso.com/forum/viewtopic.php?t=16266

Hi Mohanna,

It is not available in Dynamics NAV and .NET tab.

I already found it. But do you have any pattern on how to have an Input box using DotNet variable?

You have to choose Microsoft.VisualBasic under DotNet and then Microsoft.VisualBasic.Interaction Type