Question 141

You have an enumeration named truckStatus that has the following statuses:
* Empty
* Loaded
* Completed
You have the following code:

You need to extend this (enumeration and add the following statuses to the enumeration: Quarantine, InTransit. You must then modify code that validates the switch statement.
Solution: Add a new case statement in the model of the existing code.

Does the solution meet the goal?
  • Question 142

    You are using the SysTest framework to test code in Visual Studio.
    You need to create a unit test class.
    Which three attributes can you use to create the class? Each correct answer presents a complete solution.
    NOTE: Each correct selection is worth one point.
  • Question 143

    Hotspot Question
    You are using the Metadata search tool in Visual Studio.
    You need to select the appropriate query string for various scenarios.
    Which query string should you use? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    Question 144

    A company uses Dynamics 365 Finance.
    You have two tables as shown:

    When an employee is deleted from EmplTable, the corresponding bank account information must automatically be deleted from EmplBankAccount You need to ensure that the requirement is met.
    Which two actions should you perform? Each correct answer presents part of the solution.
    NOTE: Each correct selection is worth one point.
  • Question 145

    You are the Dynamics 365 Finance Developer.
    You have the following class definition:

    You need to create an extension class and wrap the method by using Chain of Command (CoC), if the value of the Qty variable is less than 5, the code must cause an exception.
    How should you complete the code segment? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.