Single Choice Moderate

Q

You are working on a finance and operations app. You have a custom table called BankCheque with two fields BankAccount and CheckNo.

You need to run a user interface-driven process to add 100 new check numbers, starting from 10000, by using the sandbox framework without freezing the web client.

What should you do?

ID: #22669 Exam MB-500: Microsoft Dynamics 365: Finance and Operations Apps Developer 166 views
Question Info
#22669Q ID
ModerateDifficulty
Exam MB-500: Microsoft Dynamics 365: Finance and Operations Apps DeveloperTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Create a new class with business logic to create 100 new check numbers and use SysOperationSandbox to run the AsyncInfo static method. ✔ ✖
  • B Use batch processes to perform the task. ✔ ✖
  • C Run the process in synchronous mode in the web client. ✔ ✖
  • D Create a new form and add a button without using SysOperationSandbox. ✔ ✖
Correct Answer

Explanation

Option A is correct because the SysOperationSandbox framework allows you to run a synchronous operation on the asynchronous session that's happening on the web client. This will prevent the web client from freezing. Option B is incorrect because batch processes are used for lengthy tasks that are implemented on the batch servers, not for user interface-driven processes. Option C is incorrect because running the process in synchronous mode in the web client will freeze the web browser until the process completes. Option D is incorrect because simply creating a new form and adding a button will not solve the problem of the web client freezing.

Implement the SysOperationSandbox framework - Training | Microsoft Learn

The user interface - Training | Microsoft Learn

Use X++ runtime functions for common tasks - Training | Microsoft Learn

Today: 0 answered · 0 correct
Save progress
Free account

Want to remember what you got wrong?

Create a free account in seconds to track your score, revisit mistakes and continue X++ Programming Language where you left off.

  • Save your progress & streak
  • Topic-wise quizzes & scores
  • Bookmark tricky questions
  • Printable MCQ sets
Practice smarterFree account · save progress
Sign up free

Share This Question

Challenge a friend or share with your study group.

Related MCQ Questions