Microsoft Dynamics NAV 2013 C/Side Development Sample Questions:
1. You are designing a table with a Customer Name field that must not be stored.
The table must derive its contents from the Name field on the Customer table. The Customer Name field must then be used in a C/AL function.
How should you create the Customer Name field and then access it using C/AL code?
A) Create the Customer Name as a FlowField with a Method set to Lookup. In the code, use the CALCFIELDS function to evaluate the value of the Customer Name.
B) Create the Customer Name as a Normal text field. In the code, use the EVALUATE function to evaluate the value of Customer Name.
C) Create the Customer Name as a FlowFilter field. In the code, use the EVALUATE function to evaluate the value of Customer Name.
D) Create the Customer Name as a FlowFilter field. In the code, use the CALCSUMS function to evaluate the value of Customer Name.
2. Which group of C/AL functions uses caching on the Microsoft Dynamics NAV Server?
A) CALCSUMS, COUNT, FINDSET, SELECTLATESTVERSION
B) SETRANGE, GET, NEXT, COUNT
C) ISEMPTY, SELECTLATESTVERSION, COUNT, SETRANGE
D) GET, COUNT, FINDSET, ISEMPTY
3. You enhance the standard Fixed Asset table so that a fixed asset record cannot be deleted when the Blocked field is set to TRUE by adding the following code to the On Delete trigger:
IF Blocked THEN
ERROR(CANNOT_DELETE) CANNOT_DELETE is a text constant containing the ENU caption "You cannot delete this record because it is blocked.".
Against the code, a different developer writes a test function named TestBlockedFixedAsset. The function must pass successfully when the Blocked field is set to TRUE and the record is being deleted. The test function contains the following code:
FA.INIT;
FA."No." := 'TEST';
FA.Blocked:= TRUE;
FA.INSERT;
FA.DELETE (TRUE);
You run the test function but it does not pass successfully.
How should you update the test function code so that it passes successfully?
A) Place ASSERTERROR before the FA.DELETE(TRUE) statement.
B) Place GETLASTERRORTEXT before the FDELETE(TRUE) statement.
C) Remove the FA.INSERT statement.
D) Change the FA.DELETE(TRUE) statement to IF FA.DELETE(TRUE) THEN.
4. You plan to create a Statistics page based on a table with information of training courses sold over time.
You need to create a calculated field with the number of training courses sold and a date filter to make it possible to get figures based on day, week, month, or year.
Which two fields should you create?
A) Sold Training Courses field with the FieldClassFlowField property and Date field with the FieldClass=FlowFilter property
B) Sold Training Courses field with the FieldClassFlowField property and Date field with the FieldClassFlowField property
C) Sold Training Courses field with the FieldClass=FlowFilter property and Date field with the FieldClassFlowFilter property
D) Sold Training Courses field with the FieldClass=FlowFilter property and Date field with the FieldClassFlowField property
5. Which two items are prerequisites to integrate a ledger entry table with the Navigate feature? (Each correct answer presents part of the solution. Choose two.)
A) A LookupPageID set to the appropriate page
B) A secondary key containing Document No. and Posting Date fields
C) A FindRecords function containing appropriate code
D) A DrillDownPageID set to the appropriate page
Solutions:
| Question # 1 Answer: A | Question # 2 Answer: D | Question # 3 Answer: A | Question # 4 Answer: A | Question # 5 Answer: B,C |
We're so confident of our products that we provide no hassle product exchange.


By Esther

