Valid PDI Dumps shared by ExamDiscuss.com for Helping Passing PDI Exam! ExamDiscuss.com now offer the newest PDI exam dumps, the ExamDiscuss.com PDI exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com PDI dumps with Test Engine here:
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 using the external ID field?
Correct Answer: D
* Whyupsert? * Theupsertstatement inserts records that don't exist and updates existing records based on the external ID (Order Number__cin this case). * Salesforce automatically recognizes and uses the external ID field for matching. * Why Not Other Options? * A and B:mergeis for merging records, not for upserting. * C: Adding the field name afterupsertis unnecessary, as Salesforce detects the external ID automatically. References:Upsert Documentation:https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_dml_upsert.htm