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…
The correct answer is if "No." <> '' then begin; 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."). You've hit your limit · resets 5:20am (America/New_York)
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
Answer Area
Drag items
Correct arrangement
- if "No." <> '' then begin
- 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.");
Explanation
You've hit your limit · resets 5:20am (America/New_York)
Topics
Community Discussion
No community discussion yet for this question.
