Online Access Free MB7-702 Practice Test
| Exam Code: | MB7-702 |
| Exam Name: | Microsoft Dynamics NAV 2013 C/Side Development |
| Certification Provider: | Microsoft |
| Free Question Number: | 82 |
| Posted: | May 21, 2026 |
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?
You have the following C/AL code segment:
ItemLedgerEntry.SETCURRENTKEY("Item No.");
ItemLedgerEntry.FINDSET;
You have the following query, based on the C/AL code segment:
SELECT * FROM "CRONUS International Ltd_$Item Ledger Entry" ORDER BY "Item No_", "Posting Date", "Entry No_"
Which two statements are true based on the query? (Each correct answer presents a complete solution. Choose two.)
You need to debug codeunit 80 - Sales Post on a sales order to validate whether the Invoice variable changes status during the execution of the codeunit.
How should you add the Invoice field to the Watches list in the debugger?