You need to sign in to do that
Don't have an account?
degmo
Upsert account record with a lookup to another account
Hello,
In my org, the Account object has a self lookup relationship to Account. This field is called Partner Company. My salesforce app needs to integrate with a data warehouse via a REST API. The API that I am hooking into sends details of an Account record that I need to do an Upsert on. The challenge for me is how to handle the Parner Company because the API just sends me Partner Company Name, Partner Company City, Partner Company State, Partner Company Zip, and Partner Company PID (which is a unqiue identifier). What is the best way to upser the partner company info, get the SF ID, and associate it with the Account data?
In my org, the Account object has a self lookup relationship to Account. This field is called Partner Company. My salesforce app needs to integrate with a data warehouse via a REST API. The API that I am hooking into sends details of an Account record that I need to do an Upsert on. The challenge for me is how to handle the Parner Company because the API just sends me Partner Company Name, Partner Company City, Partner Company State, Partner Company Zip, and Partner Company PID (which is a unqiue identifier). What is the best way to upser the partner company info, get the SF ID, and associate it with the Account data?