{"title":"Dialog data type","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/dialog/dialog-data-type/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-data-type, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/dialog/dialog-data-type","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Represents a dialog window.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Static methods","slug":"static-methods","at":88,"chars":1018},{"level":2,"title":"Instance methods","slug":"instance-methods","at":1106,"chars":507},{"level":2,"title":"Related information","slug":"related-information","at":1613,"chars":117}],"text":"> Version: _Available or changed with runtime version 1.0._\nRepresents a dialog window.\n## Static methods\nThe following methods are available on the Dialog data type.\nMethod name|Description\nConfirm(Text [, Boolean] [, Any,...])<dialog-confirm-method>|Creates a dialog box that prompts the user for a yes or no answer. The dialog box is centered on the screen.\nError(Text [, Any,...])<dialog-error-string-joker-method>|Displays an error message and ends the execution of AL code.\ndialog-error-errorinfo-method|Displays an error message and ends the execution of AL code.\nLogInternalError(Text, DataClassification, Verbosity)<dialog-loginternalerror-string-dataclassification-verbosity-method>|Log internal errors for telemetry.\nLogInternalError(Text, Text, DataClassification, Verbosity)<dialog-loginternalerror-string-string-dataclassification-verbosity-method>|Log internal errors for telemetry.\nMessage(Text [, Any,...])<dialog-message-method>|Displays a text string in a message window.\nStrMenu(Text [, Integer] [, Text])<dialog-strmenu-method>|Creates a menu window that displays a series of options.\n## Instance methods\nThe following methods are available on instances of the Dialog data type.\nMethod name|Description\ndialog-close-method|Closes a dialog window that has been opened by the OPEN method.\nHideSubsequentDialogs([Boolean])<dialog-hidesubsequentdialogs-method>|Specifies that subsequent child dialogs are not shown.\nOpen(Text [, var Any,...])<dialog-open-method>|Opens a dialog window.\nUpdate([Integer] [, Any])<dialog-update-method>|Updates the value of a '#'-or '@' field in the active window.\n## Related information\nGet Started with AL<../../devenv-get-started>\nDeveloping Extensions<../../devenv-dev-overview>"}