<?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: Salesforce Rollup Summary Fields using Apex Code</title>
	<atom:link href="http://colinloretz.com/2008/10/salesforce-rollup-summary-fields-using-apex-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://colinloretz.com/2008/10/salesforce-rollup-summary-fields-using-apex-code/</link>
	<description>Community builder and hacker</description>
	<lastBuildDate>Tue, 31 Jan 2012 14:11:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Anthony Victorio</title>
		<link>http://colinloretz.com/2008/10/salesforce-rollup-summary-fields-using-apex-code/#comment-207</link>
		<dc:creator>Anthony Victorio</dc:creator>
		<pubDate>Thu, 09 Jun 2011 21:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://colinloretz.com/?p=76#comment-207</guid>
		<description>It very much helped, I wouldn&#039;t have known were to start without your code.  I&#039;m far better at pulling things apart than at creating new things from scratch =P</description>
		<content:encoded><![CDATA[<p>It very much helped, I wouldn&#8217;t have known were to start without your code.  I&#8217;m far better at pulling things apart than at creating new things from scratch =P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin Loretz</title>
		<link>http://colinloretz.com/2008/10/salesforce-rollup-summary-fields-using-apex-code/#comment-206</link>
		<dc:creator>Colin Loretz</dc:creator>
		<pubDate>Thu, 09 Jun 2011 19:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://colinloretz.com/?p=76#comment-206</guid>
		<description>I hope it helps, its definitely dated and is probably something I should revisit. Force.com has changed quite a bit since 2008 and I know this could be done more efficiently. Hope it helped with direction.</description>
		<content:encoded><![CDATA[<p>I hope it helps, its definitely dated and is probably something I should revisit. Force.com has changed quite a bit since 2008 and I know this could be done more efficiently. Hope it helped with direction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony Victorio</title>
		<link>http://colinloretz.com/2008/10/salesforce-rollup-summary-fields-using-apex-code/#comment-204</link>
		<dc:creator>Anthony Victorio</dc:creator>
		<pubDate>Tue, 07 Jun 2011 19:00:13 +0000</pubDate>
		<guid isPermaLink="false">http://colinloretz.com/?p=76#comment-204</guid>
		<description>Thanks for the code Colin! I have a revised version of the trigger on my blog that uses aggregate queries and maps in order limit exceptions that might be thrown out due to governor limits.

http://www.anthonyvictorio.com/salesforce/roll-up-summary-trigger/</description>
		<content:encoded><![CDATA[<p>Thanks for the code Colin! I have a revised version of the trigger on my blog that uses aggregate queries and maps in order limit exceptions that might be thrown out due to governor limits.</p>
<p><a href="http://www.anthonyvictorio.com/salesforce/roll-up-summary-trigger/" rel="nofollow">http://www.anthonyvictorio.com/salesforce/roll-up-summary-trigger/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salesforce Roll-Up Summary Trigger Revised</title>
		<link>http://colinloretz.com/2008/10/salesforce-rollup-summary-fields-using-apex-code/#comment-203</link>
		<dc:creator>Salesforce Roll-Up Summary Trigger Revised</dc:creator>
		<pubDate>Tue, 07 Jun 2011 17:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://colinloretz.com/?p=76#comment-203</guid>
		<description>[...] Salesforce Rollup Summary Fields using Apex Code &#8211; Colin Loretz [...]</description>
		<content:encoded><![CDATA[<p>[...] Salesforce Rollup Summary Fields using Apex Code &#8211; Colin Loretz [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: onurK</title>
		<link>http://colinloretz.com/2008/10/salesforce-rollup-summary-fields-using-apex-code/#comment-50</link>
		<dc:creator>onurK</dc:creator>
		<pubDate>Mon, 05 Apr 2010 16:28:39 +0000</pubDate>
		<guid isPermaLink="false">http://colinloretz.com/?p=76#comment-50</guid>
		<description>I guess this code is not working after salesforce update, does anyone can simply provide a sample trigger with test please?
Thank you in advance</description>
		<content:encoded><![CDATA[<p>I guess this code is not working after salesforce update, does anyone can simply provide a sample trigger with test please?<br />
Thank you in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean C.</title>
		<link>http://colinloretz.com/2008/10/salesforce-rollup-summary-fields-using-apex-code/#comment-49</link>
		<dc:creator>Sean C.</dc:creator>
		<pubDate>Sun, 28 Feb 2010 01:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://colinloretz.com/?p=76#comment-49</guid>
		<description>Thanks for posting your code! Being new to APEX this provided a great example.  Did you ever get around to writing the Test Unit code for this by chance?  I was able to take your example code and get it working for our objects, but unfortunately not skilled enough in APEX yet to write my own test units.</description>
		<content:encoded><![CDATA[<p>Thanks for posting your code! Being new to APEX this provided a great example.  Did you ever get around to writing the Test Unit code for this by chance?  I was able to take your example code and get it working for our objects, but unfortunately not skilled enough in APEX yet to write my own test units.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gfuller</title>
		<link>http://colinloretz.com/2008/10/salesforce-rollup-summary-fields-using-apex-code/#comment-48</link>
		<dc:creator>gfuller</dc:creator>
		<pubDate>Sun, 21 Feb 2010 23:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://colinloretz.com/?p=76#comment-48</guid>
		<description>I&#039;ve been trying to implement this but have been having problems with the cleaner version.  I keep getting map errors : Unexpected token at line 2.  I am very new to triggers and I am sure that if I were more familar with them I could probably figure this out.  The first few lines of the clean code is this:
trigger rollupHoursToTimesheet on Time_Entry__c (after insert, after update, after delete) {
if(Trigger.isAfter){
Double sumTotalHours = 0;
Map TimeSheetsToUpdate = new Map();
Set TimeSheetsIDs = new Set();

//************************************************
//Code for updating existing records and new records
//************************************************</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been trying to implement this but have been having problems with the cleaner version.  I keep getting map errors : Unexpected token at line 2.  I am very new to triggers and I am sure that if I were more familar with them I could probably figure this out.  The first few lines of the clean code is this:<br />
trigger rollupHoursToTimesheet on Time_Entry__c (after insert, after update, after delete) {<br />
if(Trigger.isAfter){<br />
Double sumTotalHours = 0;<br />
Map TimeSheetsToUpdate = new Map();<br />
Set TimeSheetsIDs = new Set();</p>
<p>//************************************************<br />
//Code for updating existing records and new records<br />
//************************************************</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://colinloretz.com/2008/10/salesforce-rollup-summary-fields-using-apex-code/#comment-47</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Fri, 16 Oct 2009 01:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://colinloretz.com/?p=76#comment-47</guid>
		<description>The 2 place decimal doesn&#039;t act as minutes though. This would be useful

if you entry 0.90 as one of the hours would be converted to 1.30</description>
		<content:encoded><![CDATA[<p>The 2 place decimal doesn&#8217;t act as minutes though. This would be useful</p>
<p>if you entry 0.90 as one of the hours would be converted to 1.30</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bcolmer</title>
		<link>http://colinloretz.com/2008/10/salesforce-rollup-summary-fields-using-apex-code/#comment-46</link>
		<dc:creator>bcolmer</dc:creator>
		<pubDate>Thu, 23 Jul 2009 00:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://colinloretz.com/?p=76#comment-46</guid>
		<description>Yes, please post soon!! I need this!</description>
		<content:encoded><![CDATA[<p>Yes, please post soon!! I need this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin Loretz</title>
		<link>http://colinloretz.com/2008/10/salesforce-rollup-summary-fields-using-apex-code/#comment-45</link>
		<dc:creator>Colin Loretz</dc:creator>
		<pubDate>Tue, 21 Jul 2009 18:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://colinloretz.com/?p=76#comment-45</guid>
		<description>@CK - I plan to revisit this at some point very soon and incorporate some better bulk processing and hopefully that will include posting the test code. However, for now you will have to run it on a developer org :D</description>
		<content:encoded><![CDATA[<p>@CK &#8211; I plan to revisit this at some point very soon and incorporate some better bulk processing and hopefully that will include posting the test code. However, for now you will have to run it on a developer org :D</p>
]]></content:encoded>
	</item>
</channel>
</rss>

