nerdexam
Salesforce

PDII · Question #31

PDII Question #31: Real Exam Question with Answer & Explanation

The correct answer is B. upsert orders Order_Number__c;. See the full explanation below for the reasoning.

Question

A company has a custom object, Order__c, that has a required, unique, external ID field called Order_Number__c. Which statement should be used to perform the DML necessary to insert new records and update existing records in a List of Order__c records?

Options

  • Aupsert orders;
  • Bupsert orders Order_Number__c;
  • Cmerge orders Order_Number__c;
  • Dmerge orders;

Community Discussion

No community discussion yet for this question.

Full PDII Practice