Microsoft
MB6-894 · Question #53
MB6-894 Question #53: Real Exam Question with Answer & Explanation
Sign in or unlock MB6-894 to reveal the answer and full explanation for question #53. The question stem and answer options stay visible for context.
Question
You are writing an X++ method to delete a SalesLine record. You need to ensure that the call to the delete() method succeeds. Which two criteria must be met to accomplish this goal? Each correct answer presents part of the solution.
Options
- AThe record to delete must have been read from the database using the forupdate keyword in a
- BThe dispose() method must be called after the delete() method is called.
- CThe delete() method must be called inside a transaction by using the ttsbegin and ttscommit
- DThe record to delete must be locked first by calling the selectLocked() method.
Unlock MB6-894 to see the answer
You've previewed enough free MB6-894 questions. Unlock MB6-894 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.