<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Saleforce DML statements or DML database methods?</title>
	<atom:link href="http://blog.jeffdouglas.com/2009/11/02/using-saleforce-dml-statements-or-dml-database-methods/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jeffdouglas.com/2009/11/02/using-saleforce-dml-statements-or-dml-database-methods/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=using-saleforce-dml-statements-or-dml-database-methods</link>
	<description>Get your head out of your #@! and into the clouds!</description>
	<lastBuildDate>Wed, 08 Feb 2012 07:57:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Jeff Douglas</title>
		<link>http://blog.jeffdouglas.com/2009/11/02/using-saleforce-dml-statements-or-dml-database-methods/comment-page-1/#comment-1734</link>
		<dc:creator>Jeff Douglas</dc:creator>
		<pubDate>Fri, 03 Sep 2010 10:30:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1579#comment-1734</guid>
		<description>See if &lt;a href=&quot;http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_dml_non_mix_sobjects.htm&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt; helps you out.</description>
		<content:encoded><![CDATA[<p>See if <a href="http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_dml_non_mix_sobjects.htm" rel="nofollow">this</a> helps you out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Angelo</title>
		<link>http://blog.jeffdouglas.com/2009/11/02/using-saleforce-dml-statements-or-dml-database-methods/comment-page-1/#comment-1728</link>
		<dc:creator>Angelo</dc:creator>
		<pubDate>Fri, 03 Sep 2010 00:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1579#comment-1728</guid>
		<description>Thanks... So, what if I need to update an object from a trigger that DOES NOT support DML (for example, a SelfServiceUser)?

How can I set Inactive to TRUE on a Self-Service user based on a field Value in the associated Account? I&#039;ve tried writing my trigger several different ways, but nothing has worked.</description>
		<content:encoded><![CDATA[<p>Thanks&#8230; So, what if I need to update an object from a trigger that DOES NOT support DML (for example, a SelfServiceUser)?</p>
<p>How can I set Inactive to TRUE on a Self-Service user based on a field Value in the associated Account? I&#8217;ve tried writing my trigger several different ways, but nothing has worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hannes</title>
		<link>http://blog.jeffdouglas.com/2009/11/02/using-saleforce-dml-statements-or-dml-database-methods/comment-page-1/#comment-1004</link>
		<dc:creator>Hannes</dc:creator>
		<pubDate>Tue, 13 Jul 2010 11:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1579#comment-1004</guid>
		<description>Reid Carlberg very kindly explained how to handle the situation, by comparing the SaveResult and the actual job. Check out the community posting if you are interested in his solution;
http://community.salesforce.com/t5/Apex-Code-Development/Database-SaveResult-does-not-contain-object-ID/m-p/193423/highlight/true#M32131</description>
		<content:encoded><![CDATA[<p>Reid Carlberg very kindly explained how to handle the situation, by comparing the SaveResult and the actual job. Check out the community posting if you are interested in his solution;<br />
<a href="http://community.salesforce.com/t5/Apex-Code-Development/Database-SaveResult-does-not-contain-object-ID/m-p/193423/highlight/true#M32131" rel="nofollow">http://community.salesforce.com/t5/Apex-Code-Development/Database-SaveResult-does-not-contain-object-ID/m-p/193423/highlight/true#M32131</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Douglas</title>
		<link>http://blog.jeffdouglas.com/2009/11/02/using-saleforce-dml-statements-or-dml-database-methods/comment-page-1/#comment-972</link>
		<dc:creator>Jeff Douglas</dc:creator>
		<pubDate>Thu, 08 Jul 2010 12:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1579#comment-972</guid>
		<description>Very interesting... it does make troubleshooting very difficult when you cannot see the ids of the records that failed.</description>
		<content:encoded><![CDATA[<p>Very interesting&#8230; it does make troubleshooting very difficult when you cannot see the ids of the records that failed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hannes</title>
		<link>http://blog.jeffdouglas.com/2009/11/02/using-saleforce-dml-statements-or-dml-database-methods/comment-page-1/#comment-971</link>
		<dc:creator>Hannes</dc:creator>
		<pubDate>Thu, 08 Jul 2010 12:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1579#comment-971</guid>
		<description>Hey Jeff,

earlier today I wrote some Database actions and while coding I knew you would have a good tutorial for it on your blog... I am very proud, that my solution looks similar to yours :D

However, I came across this: When processing the errored/failed objects, Salesforce will not return me the Object&#039;s ID via getId(). It&#039;s just null/blank. This is extremely bad when trying to make a useful error processing.

I&#039;ve explained this on the community board too:
http://community.salesforce.com/t5/Apex-Code-Development/Database-SaveResult-does-not-contain-object-ID/td-p/192742

Cheers,
//Hannes</description>
		<content:encoded><![CDATA[<p>Hey Jeff,</p>
<p>earlier today I wrote some Database actions and while coding I knew you would have a good tutorial for it on your blog&#8230; I am very proud, that my solution looks similar to yours <img src='http://blog.jeffdouglas.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>However, I came across this: When processing the errored/failed objects, Salesforce will not return me the Object&#8217;s ID via getId(). It&#8217;s just null/blank. This is extremely bad when trying to make a useful error processing.</p>
<p>I&#8217;ve explained this on the community board too:<br />
<a href="http://community.salesforce.com/t5/Apex-Code-Development/Database-SaveResult-does-not-contain-object-ID/td-p/192742" rel="nofollow">http://community.salesforce.com/t5/Apex-Code-Development/Database-SaveResult-does-not-contain-object-ID/td-p/192742</a></p>
<p>Cheers,<br />
//Hannes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://blog.jeffdouglas.com/2009/11/02/using-saleforce-dml-statements-or-dml-database-methods/comment-page-1/#comment-316</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 13 Apr 2010 00:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1579#comment-316</guid>
		<description>Thanx for posting this.  Salesforce fails to mention the syntax for using Database.upsert with an external ID in their docs.</description>
		<content:encoded><![CDATA[<p>Thanx for posting this.  Salesforce fails to mention the syntax for using Database.upsert with an external ID in their docs.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

