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
Kennie__cKennie__c 

how to create household account

Hi
How to create household account  that links to multiple contacts using apex code, and guidance or sample code greatly appreciated.
NagendraNagendra (Salesforce Developers) 
Hi Kennie,

May I suggest you please refer to below links which might help you further. Please let us know if this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
Kennie__cKennie__c
Thanks
Instead of clicking here and there on UI. Is is possible to to all these from apex code
Example, I will have a vf page that enter customer info, lets say borrower and co-borrower, address, phone number etc...On save button clicked, I want all to create a household acct that link to the 2 contacts borrower and co-borrower.


I google the net but could not find anything create household using apex code.