What will help ensure ne transactional Integrity of the integration?

Posted by: Pdfprep Category: PDII Tags: , ,

A developer wants to integrate invoice and invoice line data into Salesforce from a custom billing system. The developer decides to make realtime 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 ne transactional Integrity of the integration?
A . Create the invoice header and the related invoice lines in the same create() call leveraging External Ids.
B . Develop a custom Apex web service to handle a custom JSON data structure with both invoice header and related invoice lines.
C . Use an ETL tool and the Bulk API running nightly, thus ensuring all of the data is handled at the same time.
D . Set the AIIOrNoneHeader to true when calling each of create() for invoice headers and create() for invoice lines.

Answer: B