nerdexam
Salesforce

PDII · Question #339

A company accepts orders for customers in their enterprise resource planning (ERP) system that must be integrated into Salesforce as Order__c records with a lookup field to Account. The Account…

The correct answer is C. Upsert on the Order__c object and specify the ERP_Customer_ID__c for the Account relationship. See the full explanation below for the reasoning.

Question

A company accepts orders for customers in their enterprise resource planning (ERP) system that must be integrated into Salesforce as Order__c records with a lookup field to Account. The Account object has an external ID field, ERP_Customer_ID__c. What should the integration use to create new Order__c records that will automatically be related to the correct Account?

Options

  • AInsert on the Order__c object followed by an update on the Order__c object.
  • BMerge on the Order__c object and specify the ERP_Customer_ID__c for the Account relationship.
  • CUpsert on the Order__c object and specify the ERP_Customer_ID__c for the Account relationship.
  • DUpsert on the Account and specify the ERP_Customer_ID__c for the relationship.

How the community answered

(50 responses)
  • A
    2% (1)
  • B
    12% (6)
  • C
    80% (40)
  • D
    6% (3)

Community Discussion

No community discussion yet for this question.

Full PDII Practice