Download Microsoft.MB6-894.TestKing.2019-05-10.29q.tqb

Vendor: Microsoft
Exam Code: MB6-894
Exam Name: Development, Extensions and Deployment for Microsoft Dynamics 365 for Finance and Operations
Date: May 10, 2019
File Size: 184 KB

Demo Questions

Question 1
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? 
  1. Create a new class and extend the onlineserted event.
  2. Create a new class that extends the SalesLineType class. Overwrite the inserted method on your new class.
  3. Customize the SalesLine table. Overwrite the insert() method and add your code immediately before the salesLineType.inserted() method.
  4. Create a new class, and add a method that is a pre-event handler for the salesLineType.inserted() method.
Correct answer: D
Question 2
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.
  1. The record to delete must have been read from the database using the forupdate keyword in a select statement.
  2. The dispose() method must be called after the delete() method is called.
  3. The delete() method must be called inside a transaction by using the ttsbegin and ttscommit statements.
  4. The record to delete must be locked first by calling the selectLocked() method.
Correct answer: CD
Question 3
You are debugging in X++ and review the following method:
  
Which three best practices does this method violate? Each correct answer presents part of the solution. 
  1. The method does not assign a value to the variable var2.
  2. The If and Else statements should not use braces because each statement is only one line.
  3. The parameter _param should be assigned using the format _param = _param + var1.
  4. The method manipulated the parameter _param.
  5. The return keyword is used in both the If and the Else statements.
Correct answer: ADE
EXAM SIMULATOR

How to Open TQB Files?

Use Taurus Exam Simulator to open TQB files

Taurus Exam Simulator


Taurus Exam Simulator for Windows/macOS/Linus

Download

Taurus Exam Studio
Enjoy a 20% discount on Taurus Exam Studio!

You now have the chance to acquire Exam Studio at a discounted rate of 20%.

Get Now!
-->