Free MB-500 Exam Braindumps (page: 30)

Page 30 of 66
View Related Case Study

A company uses Dynamics 365 Finance.
You implement an extension of a method named calc in ClassA. The calc method:

•Accepts an integer as an input parameter.
•Returns an integer as an output parameter.

You must implement an extension to:

•Extend the calc method.
•Prevent the standard code from running if the value of the input parameter is greater than 10.

You need to implement the correct solution.
Which code segment should you use?





Answer(s): A

Explanation:

Class extension - Method wrapping and Chain of Command
Wrapper methods must always call next (not B)
Wrapper methods in an extension class must always call next, so that the next method in the chain and, finally, the original implementation are always called. This restriction helps guarantee that every method in the chain contributes to the result.

In the current implementation of this restriction, the call to next must be in the first-level statements in the method body.

Here are some important rules:
Calls to next can't be done conditionally inside an if statement. (not D)
Calls to next can't be done in while, do-while, or for loop statements.
A next statement can't be preceded by a return statement.
Because logical expressions are optimized, calls to next can't occur in logical expressions. At runtime, the execution of the complete expression isn't guaranteed.

Incorrect:
Not B: Need to use the next keyword.
Not C: Use the if-statement before the next-statement to prevent the standard code to run.
Not D: Calls to next can't be done conditionally inside an if statement.


Reference:

https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc



View Related Case Study

You are a Dynamics 365 Finance developer. You have the following Extended Data Types (EDTs):


You plan to modify the properties of the EDTs by using an extension.
You need to determine which operations can be performed.
Which operation is possible?

  1. Create an extension for AccountBase and decrease the field size.
  2. Create a derived EDT for AccountBase and increase the field size.
  3. Create a derived EDT for AccountId and increase the field size.
  4. Create an extension for AccountBase and increase the field size.

Answer(s): D

Explanation:

You can only set the new String size to a value equal to or larger than the base EDT value.

Incorrect Answers:
A: You can only set the new String size to a value equal to or larger than the base EDT value.
B, C: You can only modify the value if the EDT does not extend from another EDT.


Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/modify-edt



View Related Case Study

You have a table in which multiple properties must be changed. Multiple table properties are locked down at the base table and must not be overwritten.

You need to modify the table properties by extending the table.
Which table property can you populate in a table extension by using the property sheet?

  1. Created by
  2. Table group
  3. Primary index
  4. Clustered index

Answer(s): A

Explanation:

Modify table properties through extension
To modify properties on a table, you must create an extension of that table. In Application Explorer, right-click the table, and then select Create extension. A new table extension is created in the selected project, as shown in the following illustration.

Create a table extension.

You can now modify the following properties through the property sheet:
Country Region Codes
Created By
Created Date Time
Form Ref
Modified By
Modified Date Time
Preview Part Ref
Tags
Title Field1
Title Field2


Reference:

https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/modify-properties



View Related Case Study

You have a table in which multiple properties must be changed. Multiple table properties are locked down at the base table and must not be overwritten.

You need to modify the table properties by extending the table.
Which table property can you populate in a table extension by using the property sheet?

  1. Configuration key
  2. Save data per company
  3. Created by
  4. Clustered index

Answer(s): C

Explanation:

You can now modify the following properties through the property sheet:
* Created By
* Created Date Time
* Modified By
* Modified Date Time
* Country Region Codes

Note: There are multiple versions of this question with different correct answers and various combinations of incorrect answers.
Other incorrect answers you may see in the exam include:

* Save data per company
* Clustered index
* Cache lookup
* Primary Index
* Configuration Key
* Table Group


Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/modify-properties



Page 30 of 66



Post your Comments and Discuss Microsoft MB-500 exam with other Community members:

the coder1 commented on December 11, 2024
It helped alot
UNITED KINGDOM
upvote

Ek commented on June 29, 2024
It helped alot
INDIA
upvote

Tom commented on March 18, 2022
i purchased this exam dumps from another website with way more questions but they were all invalid and outdate. this exam dumps was right to the point and all from recent exam. it was a hard pass.
UNITED KINGDOM
upvote

Tom commented on March 18, 2022
I purchased this exam dumps from another website with way more questions but they were all invalid and outdate. This exam dumps was right to the point and all from recent exam. It was a hard pass.
UNITED KINGDOM
upvote

Eddie commented on September 20, 2021
These notes are pretty informative along with the questions. I helped a lot.
UNITED STATES
upvote