<?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 How to get auto-generated GUID id when using tSugarCRMOutput insert? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-auto-generated-GUID-id-when-using-tSugarCRMOutput/m-p/2357756#M122965</link>
    <description>I am inserting new SugarCRM accounts using the&amp;nbsp;tSugarCRMOutput component. &amp;nbsp;The insert works just fine. &amp;nbsp;However, what is a convenient way to get the auto-generated GUID id created by SugarCRM? &amp;nbsp;I need this id to insert related records in other modules. &amp;nbsp;My guess is:
&lt;BR /&gt;Job 1: &amp;nbsp;Insert all new SugarCRM accounts using the&amp;nbsp;tSugarCRMOutput component. &amp;nbsp;Insert unique_key from my database into a custom account field in SugarCRM.
&lt;BR /&gt;Job 2: &amp;nbsp;Use tSugarCRMInput command to read all accounts inserted with today's date and unique_key is not null. &amp;nbsp;Write those account ids to my database table.
&lt;BR /&gt;Optimally, I could use an output variable within tSugarCRMOutput to get a returned id, but I suppose this isn't' possible. &amp;nbsp;Thanks.</description>
    <pubDate>Wed, 20 Apr 2016 19:39:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-20T19:39:08Z</dc:date>
    <item>
      <title>How to get auto-generated GUID id when using tSugarCRMOutput insert?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-auto-generated-GUID-id-when-using-tSugarCRMOutput/m-p/2357756#M122965</link>
      <description>I am inserting new SugarCRM accounts using the&amp;nbsp;tSugarCRMOutput component. &amp;nbsp;The insert works just fine. &amp;nbsp;However, what is a convenient way to get the auto-generated GUID id created by SugarCRM? &amp;nbsp;I need this id to insert related records in other modules. &amp;nbsp;My guess is:
&lt;BR /&gt;Job 1: &amp;nbsp;Insert all new SugarCRM accounts using the&amp;nbsp;tSugarCRMOutput component. &amp;nbsp;Insert unique_key from my database into a custom account field in SugarCRM.
&lt;BR /&gt;Job 2: &amp;nbsp;Use tSugarCRMInput command to read all accounts inserted with today's date and unique_key is not null. &amp;nbsp;Write those account ids to my database table.
&lt;BR /&gt;Optimally, I could use an output variable within tSugarCRMOutput to get a returned id, but I suppose this isn't' possible. &amp;nbsp;Thanks.</description>
      <pubDate>Wed, 20 Apr 2016 19:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-auto-generated-GUID-id-when-using-tSugarCRMOutput/m-p/2357756#M122965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-20T19:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get auto-generated GUID id when using tSugarCRMOutput insert?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-auto-generated-GUID-id-when-using-tSugarCRMOutput/m-p/2357757#M122966</link>
      <description>I'm not sure if you're asking if your GUID can be generated inside SugarCRM; but you can easily generate UUIDs in Talend by creating a simple code 'routine'.&lt;BR /&gt;import java.util.UUID;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; public static String getUUID() {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 	return UUID.randomUUID().toString();&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }</description>
      <pubDate>Thu, 21 Apr 2016 08:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-auto-generated-GUID-id-when-using-tSugarCRMOutput/m-p/2357757#M122966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-21T08:44:46Z</dc:date>
    </item>
  </channel>
</rss>

