Table of Contents
Question
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?
Select only one answer.
A. Create a new form and add a button without using SysOperationSandbox.
B. Run the process in synchronous mode in the web client.
C. Use batch processes to perform the task.
D. Create a new class with business logic to create 100 new check numbers and use SysOperationSandbox to run the AsyncInfo static method.
Answer
D. Create a new class with business logic to create 100 new check numbers and use SysOperationSandbox to run the AsyncInfo static method.
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.
Microsoft Dynamics 365: Finance and Operations Apps Developer MB-500 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Dynamics 365: Finance and Operations Apps Developer MB-500 exam and earn Microsoft Dynamics 365: Finance and Operations Apps Developer MB-500 certification.