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….

QuestionsCategory: MB-500You 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….
Admin Staff asked 7 months ago
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.
 Image
B.
 Image
C.
 Image
D.
 Image
















 

Suggested Answer: AD

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

This question is in MB-500 Microsoft Dynamics 365 Finance and Operations Apps Developer Exam
For getting Microsoft Certified: Dynamics 365 Finance and Operations Apps Developer Associate Certificate




Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Microsoft. 
The website does not contain actual questions and answers from Microsoft's Certification Exams.
Trademarks, certification & product names are used for reference only and belong to Microsoft.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.