HOTSPOT - (Topic 4)
You create a table with fields. You observe errors in the code You need to resolve the errors.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Solution:
✑ In line 12, declare "Job Task" as a variable. = NO
✑ Add the property FieldClass = FlowField; for field 3. = YES
✑ Add the property FieldClass = FlowFilter; for field 3. = NO
✑ In line 23, assign the "User Setup" table to a field. = YES
For "In line 12, declare 'Job Task' as a variable": In the AL code provided, the "Job Task" appears to be part of a CalcFormula of a FlowField, which means it references a table and not a variable. The "Job Task" does not need to be declared as a variable because it is used to reference a table in a CalcFormula expression.
For "Add the property FieldClass = FlowField; for field 3": The line of code CalcFormula = sum("Job Task"."Recognized Sales Amount" where("Job No." = field("No."))); indicates that this field is calculated from other table data, which is the definition of a FlowField. Therefore, adding the property FieldClass = FlowField; is necessary for the field to function correctly.
For "Add the property FieldClass = FlowFilter; for field 3": FlowFilters are used to filter data based on the value in a flow field. Since field 3 is using a CalcFormula to sum values, it is a FlowField and not a FlowFilter. Therefore, this statement is not correct.
For "In line 23, assign the 'User Setup' table to a field": The line TableRelation = "User Setup"; suggests that the "Project Manager" field has a relation to the "User Setup" table, which is a method of assigning a table to a field to ensure that the values in "Project Manager" correspond to values in the "User Setup" table. Hence, this statement is true.
Does this meet the goal?
Correct Answer:
A
DRAG DROP - (Topic 4)
You plan to run a debug for a client.
You extend the Standard Sales - Invoice report to add a new requirement.
You create a Report Extension 'Ext Standard Sales - Invoice' with ID = 50100 and add the following lines of code. (Line numbers are included for reference only.)
The client informs you that the value of the New Total VATBaseLCY column is incorrect. You need to run a debug to identify the cause.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Solution:
Here??s the process to follow in the correct sequence:
✑ In Visual Studio Code, locate the Ext Standard Sales - Invoice report extension from your application.
✑ Search where the NewTotalVATBaseLCY variable is being calculated and set a breakpoint on the line.
✑ Start debugging.
✑ Use the step-over functionality.
Does this meet the goal?
Correct Answer:
A
DRAG DROP - (Topic 2)
You need to configure telemetry for the SaaS tenant and test whether the ingested signals are displayed.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Solution:
The correct sequence of actions to configure telemetry for the SaaS tenant and test whether the ingested signals are displayed would be:
✑ Create an Azure Application Insights instance by using the Azure Portal in the
Customer's subscription.
✑ Select the environment in the Admin Center and place the connection string in the Application Insights Connection String field.
✑ Select the Application Insights instance, select Logs and then inspect the Traces table.
To set up telemetry for a SaaS tenant using Azure Application Insights, you need to follow these steps:
✑ Create an Azure Application Insights instance: This is the first step where you create an instance in Azure that will collect the telemetry data. This should be done in the customer's Azure subscription because it's their data that you're monitoring.
✑ Configure the SaaS tenant to use the created Application Insights instance: This involves entering the correct connection string in the Business Central Admin Center so that telemetry data from the tenant is sent to the Application Insights instance.
✑ Verify that telemetry is being collected: After configuring, you would check if the telemetry is arriving as expected by inspecting the Traces table in the Azure Application Insights instance. The 'Traces' table holds the telemetry data, which you can query to verify that the correct signals are being ingested.
Does this meet the goal?
Correct Answer:
A
- (Topic 3)
You need to add a property to the Description and Comments fields with corresponding values for the control department manager.
Which property should you add?
Correct Answer:
C
HOTSPOT - (Topic 4)
You have the following XML file sample for the Items list:
You plan to create the next XML file by using an XMLport object.
You need to complete the code segment to export the file in the required format
How should you complete the code segment? To answer, select the appropriate options in the answer area.
Solution:
Does this meet the goal?
Correct Answer:
A