<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/&quot;DUYHSX0_cSp7ImA9WxBXGEQ.&quot;'><id>tag:blogger.com,1999:blog-9170983854765070670</id><updated>2010-01-31T09:18:58.349+09:00</updated><title>議事録</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mypjorg.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://mypjorg.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>晓白</name><uri>http://www.blogger.com/profile/14916020120995232327</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;DEAAR3w-fyp7ImA9WxBXGEQ.&quot;'><id>tag:blogger.com,1999:blog-9170983854765070670.post-3980758062024536533</id><published>2010-01-31T09:11:00.001+09:00</published><updated>2010-01-31T09:12:26.257+09:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-01-31T09:12:26.257+09:00</app:edited><title>Select By Foreign Key</title><content type='html'>&lt;div&gt;shop.Name =&lt;/div&gt;&lt;div&gt;[Select Shopping__r.name From Goods__c where Name=:goods.Name]&lt;/div&gt;&lt;div&gt;.Shopping__r.name;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9170983854765070670-3980758062024536533?l=mypjorg.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mypjorg.blogspot.com/feeds/3980758062024536533/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://mypjorg.blogspot.com/2010/01/select-by-foreign-key.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/3980758062024536533?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/3980758062024536533?v=2'/><link rel='alternate' type='text/html' href='http://mypjorg.blogspot.com/2010/01/select-by-foreign-key.html' title='Select By Foreign Key'/><author><name>晓白</name><uri>http://www.blogger.com/profile/14916020120995232327</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='01339646694777741447'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry gd:etag='W/&quot;DkAHR3Y_fSp7ImA9WxBXGEQ.&quot;'><id>tag:blogger.com,1999:blog-9170983854765070670.post-4257488559191560390</id><published>2010-01-31T08:32:00.004+09:00</published><updated>2010-01-31T08:38:56.845+09:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-01-31T08:38:56.845+09:00</app:edited><title>批処理更新</title><content type='html'>&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;public void massUpdate() {&lt;/div&gt;&lt;div&gt;    for (List &amp;lt;Contact&amp;gt; contacts:[Select FirstName, LastName From Contact]) {&lt;/div&gt;&lt;div&gt;        for(Contact c : contacts) {&lt;/div&gt;&lt;div&gt;            if (c.FirstName == 'Barbara' &amp;amp;&amp;amp;c.LastName == 'Gordon') {c.LastName = 'Wayne';}&lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;div&gt;        update contacts;&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9170983854765070670-4257488559191560390?l=mypjorg.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mypjorg.blogspot.com/feeds/4257488559191560390/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://mypjorg.blogspot.com/2010/01/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/4257488559191560390?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/4257488559191560390?v=2'/><link rel='alternate' type='text/html' href='http://mypjorg.blogspot.com/2010/01/blog-post.html' title='批処理更新'/><author><name>晓白</name><uri>http://www.blogger.com/profile/14916020120995232327</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='01339646694777741447'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry gd:etag='W/&quot;DUYHSX0-fip7ImA9WxBXGEQ.&quot;'><id>tag:blogger.com,1999:blog-9170983854765070670.post-4148131896169712429</id><published>2010-01-31T07:56:00.009+09:00</published><updated>2010-01-31T09:18:58.356+09:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-01-31T09:18:58.356+09:00</app:edited><title>SOQL Functions</title><content type='html'>&lt;span class="Apple-style-span"  style="font-family:'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span"  style="font-size:-webkit-xxx-large;"&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;●AVG()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SELECT CampaignId, AVG(Amount)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FROM Opportunity&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;GROUP BY CampaignId&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;●COUNT()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SELECT COUNT() FROM Account WHERE Name LIKE 'a%'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;●COUNT_DISTINCT()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SELECT COUNT_DISTINCT(Company)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FROM Lead&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;●MIN()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SELECT MIN(CreatedDate), FirstName, LastName&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FROM Contact&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;GROUP BY FirstName, LastName&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;●MAX()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SELECT Name, MAX(BudgetedCost)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FROM Campaign&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;GROUP BY Name&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;●SUM()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SELECT SUM(Amount)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FROM Opportunity&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;WHERE IsClosed = false AND Probability &gt; 60&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9170983854765070670-4148131896169712429?l=mypjorg.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mypjorg.blogspot.com/feeds/4148131896169712429/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://mypjorg.blogspot.com/2010/01/soql-functions.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/4148131896169712429?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/4148131896169712429?v=2'/><link rel='alternate' type='text/html' href='http://mypjorg.blogspot.com/2010/01/soql-functions.html' title='SOQL Functions'/><author><name>晓白</name><uri>http://www.blogger.com/profile/14916020120995232327</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='01339646694777741447'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry gd:etag='W/&quot;DEMARXY_fyp7ImA9WxBXGE4.&quot;'><id>tag:blogger.com,1999:blog-9170983854765070670.post-9177984922697832764</id><published>2010-01-30T16:02:00.004+09:00</published><updated>2010-01-30T16:27:24.847+09:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-01-30T16:27:24.847+09:00</app:edited><title>SOQL Select from 2 table</title><content type='html'>① select s.Name,(Select Name From Goods__r) from Shopping__c s&lt;div&gt;②Select g.Name, Shopping__r.name From Goods__c g&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9170983854765070670-9177984922697832764?l=mypjorg.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mypjorg.blogspot.com/feeds/9177984922697832764/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://mypjorg.blogspot.com/2010/01/soql-select-from-2-table.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/9177984922697832764?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/9177984922697832764?v=2'/><link rel='alternate' type='text/html' href='http://mypjorg.blogspot.com/2010/01/soql-select-from-2-table.html' title='SOQL Select from 2 table'/><author><name>晓白</name><uri>http://www.blogger.com/profile/14916020120995232327</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='01339646694777741447'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry gd:etag='W/&quot;AkMERXw9fCp7ImA9WxBXGEw.&quot;'><id>tag:blogger.com,1999:blog-9170983854765070670.post-8440868017167455668</id><published>2010-01-30T11:26:00.001+09:00</published><updated>2010-01-30T11:26:44.264+09:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-01-30T11:26:44.264+09:00</app:edited><title>Create a Test Class</title><content type='html'>&lt;div&gt;@isTest &lt;/div&gt;&lt;div&gt;private class HelloWorldTestClass {&lt;/div&gt;&lt;div&gt;    static testMethod void validateHelloWorld() {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;  &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Account a = new Account(name='T1 Account');&lt;/div&gt;&lt;div&gt;    &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;insert a;&lt;/div&gt;&lt;div&gt;       &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;a = [SELECT hello__c FROM account WHERE Id =:a.id];&lt;/div&gt;&lt;div&gt;       &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;System.assertEquals('World', a.hello__c);&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9170983854765070670-8440868017167455668?l=mypjorg.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mypjorg.blogspot.com/feeds/8440868017167455668/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://mypjorg.blogspot.com/2010/01/create-test-class.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/8440868017167455668?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/8440868017167455668?v=2'/><link rel='alternate' type='text/html' href='http://mypjorg.blogspot.com/2010/01/create-test-class.html' title='Create a Test Class'/><author><name>晓白</name><uri>http://www.blogger.com/profile/14916020120995232327</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='01339646694777741447'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry gd:etag='W/&quot;DUUBRn04fyp7ImA9WxBXGEw.&quot;'><id>tag:blogger.com,1999:blog-9170983854765070670.post-3439090764512974905</id><published>2010-01-30T11:06:00.001+09:00</published><updated>2010-01-30T11:07:37.337+09:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-01-30T11:07:37.337+09:00</app:edited><title>Create Trigger</title><content type='html'>&lt;div&gt;trigger helloWorldAccountTrigger on Account (before insert) {&lt;/div&gt;&lt;div&gt; Account[] accs = Trigger.new;&lt;/div&gt;&lt;div&gt; MyHelloWorld.addHelloWorld(accs);&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9170983854765070670-3439090764512974905?l=mypjorg.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mypjorg.blogspot.com/feeds/3439090764512974905/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://mypjorg.blogspot.com/2010/01/create-trigger.html#comment-form' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/3439090764512974905?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/3439090764512974905?v=2'/><link rel='alternate' type='text/html' href='http://mypjorg.blogspot.com/2010/01/create-trigger.html' title='Create Trigger'/><author><name>晓白</name><uri>http://www.blogger.com/profile/14916020120995232327</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='01339646694777741447'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry gd:etag='W/&quot;DUYDQ309fyp7ImA9WxBXGEw.&quot;'><id>tag:blogger.com,1999:blog-9170983854765070670.post-6646908586204230782</id><published>2010-01-30T11:03:00.002+09:00</published><updated>2010-01-30T11:06:12.367+09:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-01-30T11:06:12.367+09:00</app:edited><title>Force.com議事録</title><content type='html'>今日から、Salesforce.comの研修議事録始まります。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9170983854765070670-6646908586204230782?l=mypjorg.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mypjorg.blogspot.com/feeds/6646908586204230782/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://mypjorg.blogspot.com/2010/01/forcecom.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/6646908586204230782?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9170983854765070670/posts/default/6646908586204230782?v=2'/><link rel='alternate' type='text/html' href='http://mypjorg.blogspot.com/2010/01/forcecom.html' title='Force.com議事録'/><author><name>晓白</name><uri>http://www.blogger.com/profile/14916020120995232327</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='01339646694777741447'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>