You need to sign in to do that
Don't have an account?
jimc507
Upsert using Partner WSDL - INVALID_FIELD
Hello,
I am trying to run a test upsert into a sandbox environment but am getting the following error. For now I am using SOAP UI to test.
Here is the SOAP request body:
Universal_ID__c
Account
100004446
005S0000000QOth
PersonAccount
Dpxonf
Itsauwxggb
4974
4974@test.com
Personal Trial
May 28, 2004 - Aug 05, 2004
Expired
At first I did not supply the record type and received:
true
record type missing for: Account
CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY
false
After adding the RecordType - PersonAccount I received:
false
The external foreign key reference does not reference a valid entity: RecordType
INVALID_FIELD
false
What am I missing or need to do to get this to work.
Thanks in advance.
I am trying to run a test upsert into a sandbox environment but am getting the following error. For now I am using SOAP UI to test.
Here is the SOAP request body:
Universal_ID__c
Account
100004446
005S0000000QOth
PersonAccount
Dpxonf
Itsauwxggb
4974
4974@test.com
Personal Trial
May 28, 2004 - Aug 05, 2004
Expired
At first I did not supply the record type and received:
true
record type missing for: Account
CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY
false
After adding the RecordType - PersonAccount I received:
false
The external foreign key reference does not reference a valid entity: RecordType
INVALID_FIELD
false
What am I missing or need to do to get this to work.
Thanks in advance.
All Answers
If I specify the record type as PersonAccount and
set the RecordTypeID with the ID (I retrieved from the URL on the PersonAccount page) with Universal_ID__c
I get:
Cannot specify both an external ID reference RecordType and a salesforce id, RecordTypeId
Without the RecordTypeID specified I get
The external foreign key reference does not reference a valid entity: RecordType
Any help would be greatly appreciated.
Thanks.