Question 46 of 103 from exam MB-500: Microsoft Dynamics 365: Finance and Operations Apps Developer

Question 46 of 103 from exam MB-500: Microsoft Dynamics 365: Finance and Operations Apps Developer

Question

Note: This question is part of a series of questions that present the same scenario.

Each question in the series contains a unique solution that might meet the stated goals.

Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it.

As a result, these questions will not appear in the review screen.

You must extend the class SalesLineType and add a new method that returns the day of week for the system's current date as an integer value.

You need to create a class that extends SalesLineType and adds the new method.

Solution: You create the following code:

[ExtensionOf (classStr(SalesLineType) ) ]
final class mySalesLineType Extension
{

public int extensionMethodDayofWeek ()

{
return dayofwk (systemDateGet ());

Does the solution meet the goal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

B.