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

Download Exam

File Info

Exam Development, Extensions and Deployment for Microsoft Dynamics 365 for Finance and Operations
Number MB6-894
File Name Microsoft.MB6-894.TestKing.2019-05-10.29q.tqb
Size 184 KB
Posted May 10, 2019
Download Microsoft.MB6-894.TestKing.2019-05-10.29q.tqb

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






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









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files