You need to implement the payroll application data process. Which two objects should you create? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A.
a data contract class that uses the DataContractAttribute attribute
B.
a service class that has a public method which accepts a single parameter for a contract
C.
a class that extends SysOperationServiceBase
D.
an UIBuilder class that extends SysOperationAutomaticUIBuilder
Suggested Answer:AC🗳️
Scenario: You must develop a process to import payroll journals into the system. A: Data Contract: Data contract class is the model class defining attributes needed for batch operations. These attributes are provided by the user, in a dialog. DataContractAttribute attribute is needed for the class and the properties methods requires DataMemberAttribute attribute. C: Service: Service class extends from the SysOperationServiceBase class and contains the business logic for the batch operation. Developers often tend to add the business logic in controller classes, which violates the Single responsibility principle. Incorrect Answers: D: UI Builder: UI Builder class extends from SysOperationAutomaticUIBuilder class and is used for adding custom behavior to dialog / dialog fields dynamically constructed by the SysOperation framework. Reference: http://daxingwitheshant.blogspot.com/2018/06/sysoperation-framework.html
I would say A & B.
Extending SysOperationServiceBase is optional for service. Look at the SysOperationServiceBase class remarks (it says can derive from this class and not must derive)
/// <remarks>
/// Services that need information about their runtime environment can derive from this class.
/// </remarks>
A. a data contract class that uses the DataContractAttribute attribute - This is necessary to define the structure of the payroll data being imported. The DataContractAttribute is used to create a data contract class that specifies the data to be exchanged between the payroll application and Dynamics 365 Finance. This class defines the parameters and their serialization for the import process.
C. a class that extends SysOperationServiceBase - This is required to implement the business logic for the payroll journal import process. A class extending SysOperationServiceBase allows you to define the service operation that processes the payroll data, leveraging the SysOperation framework for batch processing and execution in Dynamics 365 Finance
why not B? B. a service class that has a public method which accepts a single parameter for a contract - While a service class is relevant for exposing functionality (e.g., for API integration), the question focuses on the payroll data import process, which is better handled by the SysOperation framework (SysOperationServiceBase) for batch processing. This option is less specific to the payroll import scenario.
A & B are correct. Extending SysOperationServiceBase is optional, but you need method in service class that takes contract as parameter to link contract to service.
This section is not available anymore. Please use the main Exam Page.MB-500 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
juozapyne
Highly Voted 2 years, 4 months agoglobeearth
Most Recent 2 weeks, 2 days agoglobeearth
2 weeks, 2 days agoexamcram22
6 months, 1 week agoProllyx
1 year, 3 months agofaycal
1 year, 5 months ago