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
Unique TwoUnique Two 

Create a person account if account id is blank (API Integration)

Hello there,

I am only a Certified Salesforce Administrator but I require some guidance on the following.

We are setting up an Enterprise WSDL API

Once syncronised - by way of the external data being updated with current person account record Id's - I'd like it so that we can write a trigger to create a Person Account if the Person Account ID equals blank.  IE. That there is not an existing Person Account in Salesforce so create one when the external data source has a new registration for example
Pranav S SanvatsarkarPranav S Sanvatsarkar
Hello Unique Two,

The Enterprice WSDL allows external systems to interact with your Salesforce org to access the metadata customizations. However, based on the description you provided it is not clear that what you guys are trying to achieve ultimately. So, if you can provide a little bit more detail, I may be able to help.