How to Efficiently Add Multiple Records in Dynamics 365 Using the SysOperationSandbox Framework?
Table of Contents
Question
You are working on a finance and operations app. You have a custom table called AdventureWorksBankCheque 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.
You need to avoid the Application Object Server (AOS) timing out.
What should you do?
Select only one answer.
A. Run an asynchronous process using the SysOperationSandbox framework.
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.
Answer
A. Run an asynchronous process using the SysOperationSandbox framework.
Explanation
Option A is correct because running an asynchronous process using the SysOperationSandbox framework will prevent the Application Object Server (AOS) from disconnecting the client if the process takes too long. Option B is incorrect because running the process in synchronous mode in the web client will freeze the web browser until the process completes. Option C is incorrect because batch processes are used for lengthy tasks that are implemented on the batch servers, not for user interface-driven processes. Option D is incorrect because simply creating a new form and adding a button will not solve the problem of the AOS disconnecting the client.
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.