nerdexam
Microsoft

MB6-894 · Question #30

You are writing a method to update the Customer reference field on a Sales order table record. You begin by writing the following code: class ExampleClass { /// <summary> /// Update the Customer…

Sign in or unlock MB6-894 to reveal the answer and full explanation for question #30. The question stem and answer options stay visible for context.

Question

You are writing a method to update the Customer reference field on a Sales order table record. You begin by writing the following code:

class ExampleClass { /// <summary> /// Update the Customer reference field on the Sales orders table. /// </summary> /// <param name = "_salesId"> /// Sales order to update /// </param> /// <param name = "_customerRef"> /// Updated Customer reference value /// </param> public static void updateSalesTableCustomerReference(SalesId _salesId, CustRef _customerRef) { SalesTable salesTable; } } Which statement will complete the method?

Options

  • AsalesTable = SalesTable::find(_salesId);
  • Bupdate_recordset salesTable
  • CsalesTable = SalesTable::find(_salesId, true); salesTable.CustomerRef = _customerRef;
  • Dupdate_recordset salesTable

Unlock MB6-894 to see the answer

You've previewed enough free MB6-894 questions. Unlock MB6-894 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.

Full MB6-894 Practice