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 :
Business Central forum

Error : 'Dialog' does not contain a definition for 'INPUT'

(0) ShareShare
ReportReport
Posted on by 245

I Declared Variable like below


InputWindow: Dialog;


And using this variable in my code.

UserSingleInstance.GetParam(ExternalP, UserP);
InputWindow.OPEN(Text001);
InputWindow.INPUT(1, "ICS Document Type");  //Getting error here
InputWindow.INPUT(2, "SourceNo"); //Getting error here
InputWindow.UPDATE(1, "ICS Document Type");
InputWindow.UPDATE(2, SourceNo);
PackageMgmt.LoadScannedOrder("ICS Document Type", "SourceNo", Rec, UserP);
InputWindow.CLOSE;
CurrPage.PackageLineBuffer.PAGE.InitShipmentDetails(Rec);
CurrForm.UPDATE;

And Getting error "'Dialog' does not contain a definition for 'INPUT'".

Could you please Suggest me the Solution.

  • Hannes Holst Profile Picture
    5,769 on at

    Hello,

    This is not supported anymore (I think since NAV2017 - not entirly sure).
    Dialogs can be used to show information only.

    To input data, you have to create a page with the controls you need.

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,306 Super User 2026 Season 1 on at

    Input is not available in Business Central. You need to create a page to get user input.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans