nerdexam
Microsoft

MB-500 · Question #194

A company uses Dynamics 365 Finance. Two processes attempt to update the same customer record at the same time. One of the updates fails. You need to resolve the issue by overriding the table…

The correct answer is C. select firstonly pessimisticLock custTable where custTable.AccountNum == '000001'. You've hit your limit · resets 4am (America/New_York)

Develop business logic

Question

A company uses Dynamics 365 Finance. Two processes attempt to update the same customer record at the same time. One of the updates fails. You need to resolve the issue by overriding the table concurrency model. Which Select statement should you use?

Options

  • Aselect firstonly optimisticLock custTable where custTable.AccountNum == '000001';
  • Bselect firstonly forupdate custTable where custTable.AccountNum == '000001';
  • Cselect firstonly pessimisticLock custTable where custTable.AccountNum == '000001';
  • Dselect firstonly firstFast custTable where custTable.AccountNum == '000001';

How the community answered

(25 responses)
  • A
    12% (3)
  • B
    8% (2)
  • C
    76% (19)
  • D
    4% (1)

Explanation

You've hit your limit · resets 4am (America/New_York)

Topics

#concurrency model#pessimistic lock#optimistic lock#X++ select

Community Discussion

No community discussion yet for this question.

Full MB-500 Practice