exam questions

Exam MB-500 All Questions

View all questions & answers for the MB-500 exam

Exam MB-500 topic 18 question 1 discussion

Actual exam question from Microsoft's MB-500
Question #: 1
Topic #: 18
[All MB-500 Questions]

HOTSPOT -
You need to create a chain of command method for inserting the data on the table for the new fields.
How should you complete the code? To answer, select the appropriate configuration in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: [ExtensionOf(ClassStr(WHSTmpStatusChange))]
An extension class must belong to a package that references the model where the augmented class is defined.

Box 2: final -
The keyword 'final' needs to be used in the class definition line.
Example:
[ExtensionOf(classStr(BusinessLogic1))]
final class BusinessLogic1_Extension
Box 3: next insert();
Wrapper methods must always call next
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.
Box 4: InventSum.InventBatchID = thisNewInventBatchID;
Use element.FormToExtendVariable to access form's variables and datasources
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
mervearslanv
Highly Voted 1 year, 4 months ago
A,A,A,A
upvoted 5 times
...
8933e4c
Most Recent 4 months ago
Obviously A , A
upvoted 1 times
...
examcram22
2 years, 2 months ago
It should be A and A... [ExtensionOf(tableStr(WHSTmpStatusChange))] https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/add-method-table
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago