PDII · Question #231
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…
Sign in or unlock PDII to reveal the answer and full explanation for question #231. The question stem and answer options stay visible for context.
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
Unlock PDII to see the answer
You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.