MB6-704 · Question #20
You need to develop a solution to process accounts receivable. The solution must halt the process and display a message if the process starts before the last day of the month. The process must…
The correct answer is C. Box:warning("This process should only be started on the last day of the month"). You can display a message in a modal dialog box by using the Box class. Box class static method name: warning The OK button is the only one displayed in the dialog box. Use this dialog box for a warning Example: diagBut = Box::Warning( DialogButton::No, // Initial focus is on…
Question
You need to develop a solution to process accounts receivable. The solution must halt the process and display a message if the process starts before the last day of the month. The process must resume once the user acknowledges the message. Which communication statement should you use?
Options
- AWarning("This process should only be started on the last day of the month");
- BInfo("This process should only be started on the last day of the month");
- CBox:warning("This process should only be started on the last day of the month");
- DError("This process should only be started on the last day of the month");
- EPrint "This process should only be started on the last day of the month";
How the community answered
(22 responses)- A5% (1)
- B9% (2)
- C82% (18)
- D5% (1)
Explanation
You can display a message in a modal dialog box by using the Box class. Box class static method name: warning The OK button is the only one displayed in the dialog box. Use this dialog box for a warning Example: diagBut = Box::Warning( DialogButton::No, // Initial focus is on the No button. Not B: The info method displays text in the Infolog window. Not E: X++ provides a print statement that allows you to display text or selected results in a tem- porary window. The messages are displayed in a Print window that appears when the first print statement is executed.
Topics
Community Discussion
No community discussion yet for this question.