<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Update Salesforce records on a custom object in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Update-Salesforce-records-on-a-custom-object/m-p/2261232#M42083</link>
    <description>&lt;P&gt;Hey guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I make the changes in the field type. So each field in my input file have string as type.&lt;/P&gt;
&lt;P&gt;But now I get another error:&lt;/P&gt;
&lt;PRE&gt;tarting job OfflineMarketingOrders_2 at 10:09 15/05/2017.

[statistics] connecting to socket on port 3979
[statistics] connected
Exception in component tSalesforceOutput_1
java.lang.NumberFormatException
	at java.math.BigDecimal.&amp;lt;init&amp;gt;(Unknown Source)
	at java.math.BigDecimal.&amp;lt;init&amp;gt;(Unknown Source)
	at java.math.BigDecimal.&amp;lt;init&amp;gt;(Unknown Source)
	at org.talend.components.salesforce.runtime.SalesforceAvroRegistry$StringToDecimalConverter.convertToAvro(SalesforceAvroRegistry.java:280)
	at org.talend.components.salesforce.runtime.SalesforceAvroRegistry$StringToDecimalConverter.convertToAvro(SalesforceAvroRegistry.java:272)
	at org.talend.components.salesforce.runtime.SalesforceWriter.addSObjectField(SalesforceWriter.java:268)
	at org.talend.components.salesforce.runtime.SalesforceWriter.createSObjectForUpsert(SalesforceWriter.java:210)
	at org.talend.components.salesforce.runtime.SalesforceWriter.doUpsert(SalesforceWriter.java:370)
	at org.talend.components.salesforce.runtime.SalesforceWriter.upsert(SalesforceWriter.java:359)
	at org.talend.components.salesforce.runtime.SalesforceWriter.write(SalesforceWriter.java:163)
	at marketing.offlinemarketingorders_2_0_1.OfflineMarketingOrders_2.tFileInputDelimited_1Process(OfflineMarketingOrders_2.java:2157)
[statistics] disconnected
	at marketing.offlinemarketingorders_2_0_1.OfflineMarketingOrders_2.runJobInTOS(OfflineMarketingOrders_2.java:3215)
	at marketing.offlinemarketingorders_2_0_1.OfflineMarketingOrders_2.main(OfflineMarketingOrders_2.java:3072)
Job OfflineMarketingOrders_2 ended at 10:09 15/05/2017. [exit code=1]&lt;/PRE&gt;
&lt;P&gt;I tried the following steps:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;Change the field types in BigDecimal, don´t work&lt;/LI&gt;
 &lt;LI&gt;Change the length of the decimal places in SF and in Talend, &amp;nbsp;don´t work&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Do you have any tips for me?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards&lt;/P&gt;
&lt;P&gt;Csaba&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2017 09:31:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-15T09:31:32Z</dc:date>
    <item>
      <title>Update Salesforce records on a custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Salesforce-records-on-a-custom-object/m-p/2261228#M42079</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Community,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I´m new in Talend and unfortunately I have some problem with my first job.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Here is my scenario:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;We use Talend Open Studio. I want to update records in Salesforce on a custom object (for now only in a sandbox to test the talend job). I have an input csv file with the newest data.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;So here is what I created in talend:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;1 - tFileInputDelimited for my source file&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;2 - tMap, to map the columns in the file and the Salesforce fields&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;3 - tSalesforceOutput with the user credentials, Module name, Output action (Update) etc.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;4 - Two tFileOutputDelimited to create a success and error file. Those two files are not working as I expected, but this is ok for now.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;The problem is, when I start the job, I got some errors (I think these are errors):&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;SPAN&gt;“&lt;/SPAN&gt;&lt;SPAN&gt;Starting job OfflineMarketingOrders at 12:38 09/05/2017.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;[statistics] connecting to socket on port 3374&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;[statistics] connected&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;For input string: "Bol"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;For input string: "Vildt og Våben General Flyer 1508""&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;For input string: "Bol"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;For input string: "Sonne"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;For input string: "Bol"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;For input string: "Sonne"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;[statistics] disconnected&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;SPAN&gt;Job OfflineMarketingOrders ended at 12:39 09/05/2017. [exit code=0]&lt;/SPAN&gt;&lt;SPAN&gt;“&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;When I check some of the records in Salesforce, the fields which one should be updated are still empty.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I hope someone can give some help with my problem.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks and Regards&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Csaba&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Salesforce-records-on-a-custom-object/m-p/2261228#M42079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Update Salesforce records on a custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Salesforce-records-on-a-custom-object/m-p/2261229#M42080</link>
      <description>&lt;P&gt;Hi Csaba,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're getting this error because the data in your source file doesn't match the schema definition. So what you need to do is open your schema in the&amp;nbsp;&lt;SPAN&gt;tFileInputDelimited component, and check that the data type and lengths are correct for all your columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once you do that, you shouldn't have any error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Vinny&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 22:27:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Salesforce-records-on-a-custom-object/m-p/2261229#M42080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-09T22:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Update Salesforce records on a custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Salesforce-records-on-a-custom-object/m-p/2261230#M42081</link>
      <description>To complete what 
&lt;A href="https://community.qlik.com/s/profile/005700000036ZocAAE"&gt;@vgalopin&lt;/A&gt; said, if you don't have any calculation to do, just keep all fields as string datatype. In fact, the flow will be carried as plain text and Salesforce will assume the required conversion for you.</description>
      <pubDate>Tue, 09 May 2017 23:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Salesforce-records-on-a-custom-object/m-p/2261230#M42081</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-09T23:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Update Salesforce records on a custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Salesforce-records-on-a-custom-object/m-p/2261231#M42082</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your responses.&lt;/P&gt;&lt;P&gt;Well, the data types are correct, but not the field length.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will make the changes and start a test run today afternoon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;P&gt;Csaba&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 07:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Salesforce-records-on-a-custom-object/m-p/2261231#M42082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-10T07:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Update Salesforce records on a custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Salesforce-records-on-a-custom-object/m-p/2261232#M42083</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I make the changes in the field type. So each field in my input file have string as type.&lt;/P&gt;
&lt;P&gt;But now I get another error:&lt;/P&gt;
&lt;PRE&gt;tarting job OfflineMarketingOrders_2 at 10:09 15/05/2017.

[statistics] connecting to socket on port 3979
[statistics] connected
Exception in component tSalesforceOutput_1
java.lang.NumberFormatException
	at java.math.BigDecimal.&amp;lt;init&amp;gt;(Unknown Source)
	at java.math.BigDecimal.&amp;lt;init&amp;gt;(Unknown Source)
	at java.math.BigDecimal.&amp;lt;init&amp;gt;(Unknown Source)
	at org.talend.components.salesforce.runtime.SalesforceAvroRegistry$StringToDecimalConverter.convertToAvro(SalesforceAvroRegistry.java:280)
	at org.talend.components.salesforce.runtime.SalesforceAvroRegistry$StringToDecimalConverter.convertToAvro(SalesforceAvroRegistry.java:272)
	at org.talend.components.salesforce.runtime.SalesforceWriter.addSObjectField(SalesforceWriter.java:268)
	at org.talend.components.salesforce.runtime.SalesforceWriter.createSObjectForUpsert(SalesforceWriter.java:210)
	at org.talend.components.salesforce.runtime.SalesforceWriter.doUpsert(SalesforceWriter.java:370)
	at org.talend.components.salesforce.runtime.SalesforceWriter.upsert(SalesforceWriter.java:359)
	at org.talend.components.salesforce.runtime.SalesforceWriter.write(SalesforceWriter.java:163)
	at marketing.offlinemarketingorders_2_0_1.OfflineMarketingOrders_2.tFileInputDelimited_1Process(OfflineMarketingOrders_2.java:2157)
[statistics] disconnected
	at marketing.offlinemarketingorders_2_0_1.OfflineMarketingOrders_2.runJobInTOS(OfflineMarketingOrders_2.java:3215)
	at marketing.offlinemarketingorders_2_0_1.OfflineMarketingOrders_2.main(OfflineMarketingOrders_2.java:3072)
Job OfflineMarketingOrders_2 ended at 10:09 15/05/2017. [exit code=1]&lt;/PRE&gt;
&lt;P&gt;I tried the following steps:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;Change the field types in BigDecimal, don´t work&lt;/LI&gt;
 &lt;LI&gt;Change the length of the decimal places in SF and in Talend, &amp;nbsp;don´t work&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Do you have any tips for me?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards&lt;/P&gt;
&lt;P&gt;Csaba&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 09:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Salesforce-records-on-a-custom-object/m-p/2261232#M42083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-15T09:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Update Salesforce records on a custom object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Salesforce-records-on-a-custom-object/m-p/2261233#M42084</link>
      <description>&lt;P&gt;Right, you change datatypes in the tFileInputDelimied schema, but do you change also in tSalesforceOutput component?&lt;/P&gt;&lt;P&gt;Also, depending on your data, you should change decimal point from comma (,) to point (.) as expected by Salesforce API.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 14:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Salesforce-records-on-a-custom-object/m-p/2261233#M42084</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-15T14:38:58Z</dc:date>
    </item>
  </channel>
</rss>

