nerdexam
Microsoft

MB-820 · Question #111

Drag and Drop Question You develop a table named Contoso Setup and a page. You plan to use No. Series to automatically assign a unique number to data entries. You set up No. Series on the Vendor Nos.

Sign in or unlock MB-820 to reveal the answer and full explanation for question #111. The question stem and answer options stay visible for context.

Develop by using AL

Question

Drag and Drop Question You develop a table named Contoso Setup and a page. You plan to use No. Series to automatically assign a unique number to data entries. You set up No. Series on the Vendor Nos. field of the Contoso Setup table. You need to apply the No. Series Design Pattern to the trigger OnInsert(). Which four code segments should you use to develop the solution? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order. Answer:

Exhibit

MB-820 question #111 exhibit

Answer Area

Drag items

ContosoSetup.Get();ContosoSetup.SetRange(ContosoSetup."Vendor Nos.", xRec."No. Series");NoSeriesManagement.InitSeries(ContosoSetup."No. Series", xRec."Vendor Nos.", 0D, "No. Series");ContosoSetup.TestField("Vendor Nos.");NoSeriesManagement.InitSeries(ContosoSetup."Vendor Nos.", xRec."No. Series", 0D, "No. Series");if "No." = '' then beginif "No." <> '' then begin

Unlock MB-820 to see the answer

You've previewed enough free MB-820 questions. Unlock MB-820 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#No. Series#design patterns#OnInsert trigger#AL coding
Full MB-820 Practice