PdfPrep.com

Which two code segments can you use?

You are a Dynamics 365 Finance developer.

You must extend the validate 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)

A . Option A
B . Option B
C . Option C
D . Option D

Answer: A,D

Explanation:

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

Exit mobile version