Question 83 of 103 from exam MB-500: Microsoft Dynamics 365: Finance and Operations Apps Developer

Question 83 of 103 from exam MB-500: Microsoft Dynamics 365: Finance and Operations Apps Developer

Question

HOTSPOT - You are a Dynamics 365 Finance developer.

A form uses a synchronous call based on a saleID value.

There are long wait times for the form to complete processing.

You must allow the user to continue to work while the form processes and inform the user immediately when the processing completes.

You need to implement the correct method calls and behavior.

Which code segments should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Answer Area

Requirement Code segment or object

Run the form asynchronously.

element. runAsynch(classNum(CallReport), staticMethodStr(CallReport,RunReport)...
Global:runAsync(classNum(CallReport), staticMethodStr(CallReport,RunReport)...
‘SysOperationSandbox::callStaticMethod{ classNum(CallReport), staticMethodstr(CallReport, RunReport)....

Pass parameters to the method.

data contract class
container
parm method

Explanations

Answer Area

Requirement Code segment or object

Run the form asynchronously.

element. runAsynch(classNum(CallReport), staticMethodStr(CallReport,RunReport)...
Global:runAsync{classNum(CallReport), staticMethodstr(CallReport,RunReport)....
‘SysOperationSandbox::callStaticMethod{ classNum(CallReport), staticMethodstr (CallReport, RunReport)....

Pass parameters to the method.

data contract class
container
parm method

Box 1: Global:runAsync - Use runAsync methods on the Global or FormRun classes.

Box 2: container - Reference: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/migration-upgrade/deprecated-apis.