nerdexam
Salesforce

PDII · Question #231

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

The correct answer is A. Create the invoice header and the related invoice lines in the same create() call leveraging. See the full explanation below for the reasoning.

Question

A developer wants to integrate invoice and invoice line data into Salesforce from a custom billing system. The developer decides to make real-time callouts from the billing system using the SOAP API. Unfortunately, the developer is getting a lot of errors when inserting the invoice line data because the invoice header record doesn't exist yet. What will help ensure the transactional integrity of the integration?

Options

  • ACreate the invoice header and the related invoice lines in the same create() call leveraging
  • BDevelop a custom Apex web service to handle a custom JSON data structure with both invoice
  • CSet the AllOrNoneHeader to true when calling each of create() for invoice headers and create() for
  • DUse an ETL tool and the Bulk API running nightly, thus ensuring all of the data is handled at the

Community Discussion

No community discussion yet for this question.

Full PDII Practice