ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 90 - MB-500 discussion

Report
Export

You are a Dynamics 365 Finance developer.

You must extend the validateWrite method of the SalesLine table by using Chain of Command. The value of a variable named SalesPrice must be greater than or equal to zero when adding new lines.

You need to create an extension class.

Which two code segments can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.


Answers
A.


B.


Answers
B.


C.


Answers
C.


D.


Answers
D.


Suggested answer: A, D

Explanation:

Incorrect Answers:

B: Can't use = false in the 4th line.

C: Second line must be start final class, public class

Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/validations-defaults-unmapped-fields https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc

asked 05/10/2024
Daniel Melendez
49 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first