+ Start a Discussion
oj2131oj2131 

How to upsert contact without account?

Hey,

 

Whenever I upsert a contact, it is created with a corresponding account. For example, if I create 'Contact A', an account with name 'Contact A' will also be created, and will contain 'Contact A' as a contact. Is there any way to upsert only the contact without the account?

 

Thanks!

Best Answer chosen by Admin (Salesforce Developers) 
Starz26Starz26

Do you have a trigger that create and account?

 

Are you using person accounts?

 

Out of the box, adding a contact does not create an account so something in your code somewhere is creating and account if no AccountID exists....

 

 

All Answers

Starz26Starz26

Do you have a trigger that create and account?

 

Are you using person accounts?

 

Out of the box, adding a contact does not create an account so something in your code somewhere is creating and account if no AccountID exists....

 

 

This was selected as the best answer
oj2131oj2131

I have a trigger called IndividualAccounts, which I think would correlate because contact-only entries create accounts of type 'Individual'. It's part of a package, though, so I can't edit it or even view the code. How can I work around this?

 

Thanks!

oj2131oj2131

Contacted the administrator, and the trigger is to remain in place. I'll just have to work with duplicate accounts. Thanks for your help!