Câu 23: MB6-894: Development, Extensions and Deployment for Microsoft Dynamics 365 for Finance and Operations
You are working in a model that extends the Application Suite model, and you want to modify the insert method on the SalesLine table using X++ logic. The code looks like the following:"¦salesLineType.inserted();"¦The salesLineTYpe.inserted() method appears as follows:public void inserted(){}You need to create a class…
Nội dung câu hỏi
You are working in a model that extends the Application Suite model, and you want to modify the insert method on the SalesLine table using X++ logic. The code looks like the following:"¦salesLineType.inserted();"¦The salesLineTYpe.inserted() method appears as follows:public void inserted(){}You need to create a class to run code prior to running the salesLineType.inserted() method in the SalesLineType.insert() method. What should you do?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Create a new class and extend the onlineserted event.
- B. Create a new class that extends the SalesLineType class. Overwrite the inserted method on your new class.
- C. Customize the SalesLine table. Overwrite the insert() method and add your code immediately before the salesLineType.inserted() method.
- D. Create a new class, and add a method that is a pre-event handler for the salesLineType.inserted() method. — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.