Hello!
I am new to Talend Open Studio and cannot get a "simple" upsert to a custom Salesforce object to work. Using the "upsert" action, I have attempted to insert and update records and I am receiving the same error on both. The error is:
java.lang.Exception: java.lang.Exception: P21_Quote_Number__c not specified
The salesforce custom object is named Quote__c and has P21_Quote_Number__c set up as an external ID. (Our current Boomi integration is working okay, so the salesforce set up should be okay.)
The tLogRow output shows that data for P21_Quote_Number__c is populated.
In Talend on the basic settings tab I have set the "Upsert Key Column" to P21_Quote_Number__c.
I have also tried setting up the Relationship mappings on the advance settings tab and I still get the same message.
What am I doing wrong?
RESOLVED - The schema for the salesforce object included fields that were not mapped for the upsert operation. I deleted the unused fields using the tMap component and the upsert is now working. Thank you for your help!!
This sounds all correct. Can you post the job here (after removing all sensitive information like passwords) or at least show a screenshot with the settings.
I am unable to upload images or insert images because I am new to the forum. You requested that I post the job. -- Are you asking for .java file ? This file is 2000+ lines. Since I cannot upload the file, may I post all of the lines? Or... here are the screen shot URLs with the slashes changed to dashes: http:--s19.postimage.org-6rv69a9hb-mssql_input.jpg http:--s19.postimage.org-memfmnn9b-t_Map.jpg http:--s19.postimage.org-iwafq9mdb-t_Salesforce_Output_Basic_Settings.jpg http:--s19.postimage.org-u9wz1gwvz-Error_Message.jpg Thank you for your help.
RESOLVED - The schema for the salesforce object included fields that were not mapped for the upsert operation. I deleted the unused fields using the tMap component and the upsert is now working. Thank you for your help!!