A company uses Business Central.
The company plans to use the AL object model in Business Central to extend the Base Application.
You need to extend the objects.
Which two objects can you extend? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A . Codeunit
Codeunits can be extended in AL to add or modify functionality in Business Central.
B . Report
Reports can also be extended to customize the format or data presented in the reports without modifying the base report.
Incorrect Options:
C . Query: Queries cannot be extended. You would need to create new queries or modify the existing ones directly.
D . API page: You cannot extend API pages, but you can create new API pages.
E . Enum: You cannot extend Enums because they are predefined sets of values.
A company has a test application.
A user observes the following error messages when running the test:
* "Unhandled Ul: Message'
* "Unhandled Ul: Confirm"
You need to resolve the errors. Which action should you take?
A user observes error messages such as:
'Unhandled UI: Message'
'Unhandled UI: Confirm'
These messages indicate that the test code is not handling system prompts like Message and Confirm dialogs, which can appear during test execution.
Options Explanation=
Message Handler and Confirm Handler methods are used to intercept and handle these UI prompts during automated testing.
These methods should be added to the test runner codeunit, which is responsible for running the tests and handling these system-level interactions.
You ate creating a test codeumt for a company that uses Business Central. The company requites the following list of choices while posting a sales order:
* Ship
* Invoice
* Ship & Invoice
You must create a test codeunit that automatically selects one of these options. You need to create the test codeunit Which handler should you use?
StrMenuHandler is used to simulate the selection of an option from a string-based menu, such as the 'Ship,' 'Invoice,' or 'Ship & Invoice' options when posting a sales order. This handler allows you to programmatically select an option during automated testing.
Other handlers, such as SessionSettingsHandler or SendNotificationHandler, do not simulate the selection of menu choices, which is specifically required in this scenario.
You must simulate the user interaction of selecting a posting option. The options must include:
* Ship
* Invoice
* Ship & Invoice
You need to create a test codeunit to run the test.
What should you use?
Handler methods are used in tests to simulate user interactions, such as responding to dialogs, confirmation messages, or option selections. Since you need to simulate the user interaction of selecting a posting option (Ship, Invoice, Ship & Invoice), a Handler method would be the appropriate choice for capturing this kind of user input.
Normal attribute and Test attribute are used for marking methods for test execution, but they do not simulate user interaction, making Handler method the correct answer.
For more details, see the Microsoft Docs on Test Codeunits and Handler Methods.
You are exporting data from Business Central.
You must export the data in a non-fixed length and width in CSV format.
You need to generate an XMLport to export the data in the required format
Which Format property value should you use?
When exporting data from Business Central and the requirement is for the data to be in a non-fixed length and width CSV format, the Format property of the XMLport should be set to VariableText (B). The VariableText format is designed for handling data exports where the fields are separated by a delimiter, such as a comma or tab, which is typical of CSV (Comma-Separated Values) files. This format allows for the flexibility needed when dealing with varying field lengths, as it does not enforce a fixed width for each field, making it ideal for CSV data exports. Setting the Format property to FixedText (C) would enforce a fixed width for each field, which is not suitable for CSV files, while the XML format (A) is used for exporting data in an XML structure, which is different from the CSV format requirements.
Lacey
22 days agoHan
27 days agoCarry
2 months agoShenika
2 months agoClaudia
2 months agoLavonne
3 months agoDaren
3 months agoLashawnda
3 months agoStaci
4 months agoJacquelyne
4 months agoMinna
4 months agoJohnetta
5 months agoKenneth
5 months agoDell
5 months agoAaron
5 months agoKimbery
5 months agoGlenn
6 months agoPaz
6 months agoTashia
7 months agoJenelle
7 months agoCory
7 months agoJade
8 months agoStephaine
8 months agoRuthann
8 months agoCortney
8 months agoMurray
8 months agoElvera
8 months agoLawrence
9 months ago