function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ndrannapareddyndrannapareddy 

Insert Account and Contact coming from Web service .

Hi How do i insert Account and Contact record that is coming from Web Service.

I wanted to insert both at the same time..



Best Answer chosen by ndrannapareddy
Gupta.VishalGupta.Vishal
First you need to insert Account and then use id of that account in the AccountId  field of contact and then insert the contact .

All Answers

Gupta.VishalGupta.Vishal
First you need to insert Account and then use id of that account in the AccountId  field of contact and then insert the contact .
This was selected as the best answer
ndrannapareddyndrannapareddy
I want to do it in one call...