Microsoft
MB6-894 · Question #52
MB6-894 Question #52: Real Exam Question with Answer & Explanation
Sign in or unlock MB6-894 to reveal the answer and full explanation for question #52. The question stem and answer options stay visible for context.
Question
You are working in a model that extends the Application Suite model, and you want to modify the insert method on the SalesLine table using X++ logic. The code looks like the following: ... salesLineType.inserted(); ... The salesLineTYpe.inserted() method appears as follows: public void inserted() { } You need to create a class to run code prior to running the salesLineType.inserted() method in the SalesLineType.insert() method. What should you do?
Options
- ACreate a new class and extend the onlineserted event.
- BCreate a new class that extends the SalesLineType class. Overwrite the inserted method on your
- CCustomize the SalesLine table. Overwrite the insert() method and add your code immediately
- DCreate a new class, and add a method that is a pre-event handler for the
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.