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.
B.
C.
D.
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.