You need to sign in to do that
Don't have an account?
Paulo
External foreign key reference error
I'm trying to create an agreement using the echosign appexchange application in salesforce but I am receiving the error below when I try to create the object.
// Create Agreement object
Sforce.SIGN_Agreement__c sfAgreement = new Sforce.SIGN_Agreement__c();
// Set Agreement object properties
sfAgreement.Recipient__r = contact;
sfAgreement.Name = "Testing";
sfAgreement.sfAgreement.SignatureType__c = "e-Signature";
More than 1 field provided in an external foreign key reference in entity: Contact
Superfell
you probably want sfAgreement.Recipent__c = contact.id instead of the __r setting.
Paulo
It worked.
Thanks Simon!