You need to sign in to do that
Don't have an account?

Inserting records
Hi,
I want to insert Account,contact,User records in single instance.
Can you tell me the process..
Thanks in Advance.
I want to insert Account,contact,User records in single instance.
Can you tell me the process..
Thanks in Advance.
To insert Account, contact, User records in a single instance.
You need to create an external field in parent object in your case account.Through external field, we will pass the external value to the child record.
I have created SLASerialNumber__c is external id field to link contact and account..
Sample code :
Hope this helps!
Thanks
Varaprasad
For Support: varaprasad4sfdc@gmail.com
All Answers
A user clicking a button, another record activity? Or are you loading data?
The top line of my answer has two of the best options in I would imagine; if it is a record event - you can write an Apex Trigger to do almost anything you want (I'm amazed you want to automate the creation of a user though).
Process Builder can also handle inserting multiple items, have a read up on that here
https://trailhead.salesforce.com/en/modules/business_process_automation/units/process_builder
Or, if you want to just stuff all that data in, you can use the DataLoader
https://developer.salesforce.com/page/Data_Loader
To insert Account, contact, User records in a single instance.
You need to create an external field in parent object in your case account.Through external field, we will pass the external value to the child record.
I have created SLASerialNumber__c is external id field to link contact and account..
Sample code :
Hope this helps!
Thanks
Varaprasad
For Support: varaprasad4sfdc@gmail.com